Topic: struts中怎么处理分步注册的问题? |
Print this page |
1.struts中怎么处理分步注册的问题? | Copy to clipboard |
Posted by: skyedge Posted on: 2004-11-10 12:07 就是一个注册过程可能要分成几个页面才能完成,有人知道怎么做吗? |
2.Re:struts中怎么处理分步注册的问题? [Re: skyedge] | Copy to clipboard |
Posted by: skyedge Posted on: 2004-11-10 14:40 没人碰到过,不会吧? |
3.Re:struts中怎么处理分步注册的问题? [Re: skyedge] | Copy to clipboard |
Posted by: caleb Posted on: 2004-11-11 21:47 LoginAction1 的 success target 放 LoginAction2 LoginAction1 的 fail target 放它自己. 拿到的data放在attributes里面, 然后所有的LoginAction 的scope放成session .. my guess only .. .. hehe .. |
4.Re:struts中怎么处理分步注册的问题? [Re: skyedge] | Copy to clipboard |
Posted by: 不懂不要乱说话 Posted on: 2004-11-17 13:09 在ActionMapping中作映射的时候将scope值设置为session(作用域),这样ActionForm就可以在一个会话中持续,从而可以在多个页面中更新不同的属性值以达到多个页面注册的效果…… <action path="/logon" |
5.Re:struts中怎么处理分步注册的问题? [Re: skyedge] | Copy to clipboard |
Posted by: guorui_wh Posted on: 2004-11-17 18:11 用scope 为 session 的formbean不就什么问题都解决了么? |
6.Re:struts中怎么处理分步注册的问题? [Re: skyedge] | Copy to clipboard |
Posted by: emarket Posted on: 2004-11-21 22:49 看看这个能不能满足你的欲望 http://www.livinglogic.de/Struts/ |
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 |