Yes and No.

I think that there is a risk to fill the session with a lot of formBeans which rest as trash.

At least you should keep it in mind, that
1)
you empty the session when the user follows the normal dialog path.
2)
when you have a large application with lots of users and long sessions, you should think about a strategy to clean up the session.


Regards

Sebastian Hennebrueder

----

http://www.laliluna.de

Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB



Rick Reumann wrote:

Sebastian Hennebrueder wrote the following on 1/25/2005 10:37 AM:

If you have to save the data at the end of both forms, I prefered one form and hidden fields.


Yuk, just give the form bean Session scope. Much cleaner in my opinion. Way too much of a headache to keep track of which hidden fields you need to have on the page as requirements change as the application develops. Session scoped forms make sense for situations when the user is going to have to move from page to page populating data that needs to later be handled.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to