以前也遇到这个问题,没解决,只能用别的方法
我仔细想了想,jsp最后都要生成html返回给浏览器,而html好像没有能纪录list的元素吧,所以感觉是不能提交回去的。
我仔细想了想,jsp最后都要生成html返回给浏览器,而html好像没有能纪录list的元素吧,所以感觉是不能提交回去的。
解决方案 »
- 怎么样用url 请求百度地图api
- java发送邮件【雅虎邮箱.com】本地测试通过服务器上却不行?
- limitclear这种人也配当程序员?5
- struts+spring+hibernate整合问题(unable to proxy method)
- 福建省第二届计算机软件大赛作品地址
- soap 和webservice是什么关系呢?如何编译一组wsdl文件呢??
- WEB项目发布时出现异常,求救......
- STRUTS中JSP页面读取request的问题
- webservice怎么在服务器端创建用户名/密码验证
- web项目部署在linux上通过nginx反向代理时原项目通过src/url等访问原项目的资源通过nginx代理后找不到资源的问题
- 初学者请教各位前辈,如何配置j2ee的开发环境?
- 设计模式Sigleton之问
public Object get(int index) {
while (index >= size()) {
add(new JBean());//list对应的bean类
}
return super.get(index);
}
} form中相应的List beanList = new ArrayList(); 改为List beanList = new AutoArrayList();因为使用iterate在页面上显示,所以table要想提交,需要给list中的给一个属性赋给唯一标示,<logic:iterate id="beanList" name="iForm" property="beanList" indexId="index">
<td><html:text name="beanList" property="name" indexed="true"/>
<td><html:text name="beanList" property="pass" indexed="true"/></td>
</logic:iterate>加上 indexed="true" 就可以提交了
为什么要从request中取得是哪些课程呢?chekcbox不可以用吗?