可参考的网站
http://tech.ccidnet.com/pub/article/c1078_a97378_p1.html
<!--
Copyright 2004, James M Turner.
All Rights Reserved
-->
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld" %>
<head>
<title>Star Wars Actor Fact Page</title>
</head>
<H1><center>Start Wars Actor Fact Page</title>
<html:form action="/processHashActorComments" >
<table border="1" width="80%">
<tr><th>Last Name</th><th>First Name</th>
<th>Date of Birth</th><th>Comment</th></tr>
<c:forEach var="people" items="${dynamicHashmapForm.map.people}">
<tr><td><c:out value="${people.value.lastName}"/></td>
<td><c:out value="${people.value.firstName}"/></td>
<td><c:out value="${people.value.dateOfBirth}"/></td>
<td><html-el:text property="comments(${people.value.lastName},
${people.value.firstName})" /></td>
</tr>
</c:forEach>
</table>
<P/>
<html:submit value="Update Comments"/>
</html:form>
<c:forEach var="people" items="${dynamicHashmapForm.map.people}">
${people.value.lastName}"/
是一个structs form_bean 文件 是在 structs_config.xml 中 定义
需要使用 jstl 标签库
JSTL 在 tomcat 下的安装
可以参考这篇文章
http://www.teacherli.com/info7/ask251074.htm