struts2 JSP向 ACTION传递对象问题
在第一个ACTION把BEAN 传递到了JSP 。想在这个JSP把这个BEAN直接传递到下一个ACTION。不知道怎么传递。
FORM如下:<form action="<%=request.getContextPath()%>/hotel/chooshotel.action" method="post" id="formToInput">
<input name="hsb2.hotelcode" id="hsb2.hotelcode" type="hidden" />
<input name="hsb2.hotelname" id="hsb2.hotelname" type="hidden" />
</form>
HIDDEN放的都属BEAN的属性。请问下能把BEAN整体都传过去么 一个一个属性传递太麻烦了
FORM如下:<form action="<%=request.getContextPath()%>/hotel/chooshotel.action" method="post" id="formToInput">
<input name="hsb2.hotelcode" id="hsb2.hotelcode" type="hidden" />
<input name="hsb2.hotelname" id="hsb2.hotelname" type="hidden" />
</form>
HIDDEN放的都属BEAN的属性。请问下能把BEAN整体都传过去么 一个一个属性传递太麻烦了
...全文
相关推荐
action 和jsp
action和jsp之间 的参数传递,这是本人平时总结的希望对你们有帮助
struts2中action如何获取jsp页面参数1.pdf
struts2中action如何获取jsp页面参数1.pdf
struts2+Hibernate3写的注册登录的页面
分享一个用struts2+Hibernate3写的注册登录的页面 基础中的基础 原文地址:http://blog.csdn.net/hacke2/article/details/8279374
struts2中常用Result类型(type)的用法和出现的问题
struts2 常用Result类型(type)的用法 Invalid result location value/parameter错误的解决办法
Struts1.2实现MySQL数据库分页
能了解Struts1.2实现MySQL数据库分页的过程和注意事项。


