详细解决方案
struts 的 <nested:iterate>标签的有关问题
热度:1256 发布时间:2016-04-17 01:31:51
jsp:
<nested:iterate id="paymentPhaseUpload" property="phaseList" name="resubmitHkForm" indexId="ind">
<nested:nest property="paymentPhase">
<tr>
<td><nested:text property="phaseName" size="10"></nested:text> </td>
<td><nested:text property="phasePayValue" size="10"></nested:text> </td>
<td><nested:text property="phasePayRate" size="10"></nested:text> </td>
<td> </td>
</tr>
</nested:nest>
</nested:iterate>
如果在form中初始化一些数据,比如说在form的构造方法中:
public ResubmitHkForm(List<PaymentPhase> phaseList)
{
this.phaseList=phaseList;
}
phaseList中包含一些数据,form保存在request中后再转到jsp页面时,会出现下面的exception:
No getter method for property phaseList[0].paymentPhase.phaseName of bean resubmitHkForm;
各路豪杰,如何解决该问题。
------解决方案--------------------
帮你顶。
相关解决方案
- struts HTTP Status 500解决办法
- Struts-config.xml配置action-地图pings元素略计
- Struts-config.xml配置文件《action-地图pings》元素的详解
- 404,500跳转到登录页面,疏失:The Struts dispatcher cannot be found
- java struts 文件上载
- struts hibernate 测试小例子 不报错 但数据库没反应 求分析项目在小弟我的资源里面
- 求SSM分页 struts +spring+mybatis 给小弟我发个学习学习吧 多谢大神们
- 关于 jsp struts-tag <c:if> 判断有关问题
- struts+spring+mybatis出现错误(java.lang.ClassNotFoundException: Entity)为提示位置
- 求解 struts+spring+mybatis sqlsession为空 debug发现没有执行set方法 检查配置好像没有关问题
- struts + hibernate 后台页面修改数据后,前台页面显示的内容新旧数据交替出现。请高手帮忙分析上原因
- struts+spring+hibernate 开发,在action层调用service层接口,结果替null 注入失败,需高手帮忙
- 有个有关问题,请各位帮忙看看:java.lang.ClassNotFoundException: org.apache.struts.action.Act
- struts.xml资料中的namespace"/"当在/后加东西时没起作用
- 生手求教,dwr+struts+spring 页面跳提示框error
- struts checkbox 页面显示
- Servlet struts is not available要如何解决
- struts+hibernate数据库链接池有关问题
- JSP运行异常 STRUTS + SQL SERVER 2005
- Struts 国际化 i18N properties 数据动态,该如何处理
- struts hibernate,该如何处理
- struts.xml有关问题
- struts.xml跳转有关问题
- struts 2.18客户端证验不能编译
- struts+jfreechart,路径有关问题
- struts action 提交有关问题
- 關於javascript 呼叫 struts action 問題解决方法
- 求1 struts 2+hibernate+spring整合好的项目
- Struts ,hibernate如何学呀请问一上各位前辈
- Struts 1.2 html:form的action和form的action区别,还有如果2个都有执行哪个解决方案