need advice: session scoped objects or session scoped ActionForm ?

2004-10-12 Thread lixin chu
Hi, I am seeking your expert advice: I have a simple page with Done and Cancel buttons. If any of these buttons are clicked, I suppose to go back to the calling page - there are a few pages that will come to this page. It is a simple workflow type of thing. So I need to know the retutn URL, pls

Re: need advice: session scoped objects or session scoped ActionForm ?

2004-10-12 Thread Sebastian Ho
For every calling page, use a new mapping in yr struts-config. I assume u mean setting the action as session scope in yr config? They are the same I think, the important thing is to keep it to one solution and use it thoughout the application. Else it will be confusing and hard to debug as yr

Re: need advice: session scoped objects or session scoped ActionForm ?

2004-10-12 Thread lixin chu
actually I do not like either option. my understanding is: * session scoped obejcts (I mean those put into the session using request.getSession().setAttribute()) are like global variables. I need to take care of potential naming conflict-but I can not use fully qualified domain name type of naming