可以使用
request.setAttribute(...);或者session.setAttribute(...);
<bean:write ...>
来显示啊
request.setAttribute(...);或者session.setAttribute(...);
<bean:write ...>
来显示啊
解决方案 »
- 使用VPN访问系统,session为空
- String中存放了xml格式的数据,能像解析xml一样解析string吗
- Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from tr
- struts2,extjs
- Spring中的IOC如何理解?
- struts2上传文件遇到难题
- 有谁用过R 语言,请教个部署问题
- 在ibatis中实现分页,其中取得记录总数的问题!
- QQ群,JAVA学习(BBS-CS天乙社区),群号1112486
- The method configure() is undefined for the type Configuration
- 请教关于struts的nested:iterate
- struts中,表单提交后,IE提示错误:找不到网页,是怎么回事? 在线等!!!!!
又如何用上边的方法呢???
<bean:write name="BBActionForm" property="A" />,当然在相应的XML文件中做必要的配置
2中文问题可以用一个Filter来处理,这个代码网上到处有。
我觉得用List 或 Map更好用些 当然都要<bean:write>来进行配合