http://www.kissjava.com/doc/javamore/struts/2004-11-05/4303.php
http://www.gridchina.org/~ltguo/blog/archives/cat_study.html
http://www.gridchina.org/~ltguo/blog/archives/cat_study.html
解决方案 »
- Unable to convert between java.lang.Integer and BINARY
- 计算机底层知识学习的疑惑?
- java.lang.IllegalArgumentException: No origin bean specified大家救救我
- 我就11分可用分了。好心人帮我看个问题啊。谢谢大家了
- WebWork中的验证机制问题
- 关于spring的IoC 高手请来!
- 请教关于事务处理的问题?
- 调查,有做数据挖掘的请进...
- struts的页面跳转问题
- 在onsubmit后,如果想返回到原来的界面(如:修改),并保持修改的数?/
- 一个tomcat连接池释放连接的问题,困扰我好几天了,大家帮我看看!
- 初学hibernate和Struts不知哪位大哥有Hibernate+Struts的例子?
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ page import="java.util.Vector" %>
<%@ page import="ch15.Person" %>
<%@ page import="ch15.Address" %>
<html:html>
<head>
<title>Misc Nested sample code</title>
</head>
<body bgcolor="white"><h3>Misc Nested sample code</h3><p>This page provides examples of the following Struts NESTED tags:<br>
<ul>
<li><nested:nest></li>
<li><nested:select></li>
<li><nested:text></li>
<li><nested:writeNesting></li>
</ul><%--
The following section shows nest.
--%>
<html:form action="/showPerson">
<nested:nest property="person">
Last Name: <nested:text property="lastName"/><BR>
First Name: <nested:text property="firstName"/><BR>
Age: <nested:text property="age"/><BR>
Gender: <nested:select property="gender">
<html:option value="MALE">Male</html:option>
<html:option value="FEMALE">Female</html:option>
</nested:select><P>
<nested:nest property="address">
Current nesting is: <nested:writeNesting/><BR>
Street 1: <nested:text property="street1"/><BR>
Street 2: <nested:text property="street2"/><BR>
City: <nested:text property="city"/><BR>
State: <nested:text property="state"/><BR>
Postal Code: <nested:text property="postalCode"/><BR>
</nested:nest>
</nested:nest>
<html:submit/>
</html:form>
</html:body>
</html:html>