Topic: 讨论:如何从JSP传递对象至Action

  Print this page

1.讨论:如何从JSP传递对象至Action Copy to clipboard
Posted by: uniquejava
Posted on: 2006-05-08 15:03

比如在页面中有一个Pojo对象,想把它从JSP传递给Action.

用request.setAttribute不行,用session不可取
把对象分解成多个hidden字段然后隐式地通过ActionForm传过去吗?有一点麻烦
请问谁碰到过这种情况,有没有更好一点的解决办法?


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923