Re: form-bean and persistent data in session scope

2005-03-08 Thread Antony Joseph
he form bean object would be removed in > session scope after it's use. > > RaghuVeer > > -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 08, 2005 8:08 AM > To: Struts Users Mailing List > Subject: Re: form-bean and persi

RE: form-bean and persistent data in session scope

2005-03-08 Thread Raghuveer Vellanki
-Original Message- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 7:43 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: form-bean and persistent data in session scope As far as I know, Struts never explicitly removes form beans from session scope. Th

Re: form-bean and persistent data in session scope

2005-03-08 Thread Jeff Beal
As far as I know, Struts never explicitly removes form beans from session scope. This does create the potential for performance issues, simply because those form beans take up memory. With a limited user base, you can probably throw enough RAM into your server to avoid serious problems, though.

Re: form-bean and persistent data

2005-03-07 Thread Max Cooper
Yes, it is typical to write Action.execute() methods that contact the persistent store to populate an ActionForm so that the data can later be rendered by a JSP. Specify what ActionForm (bean) your action uses in struts-config.xml. When you do this, Struts will create/find an instance of that Acti

Re: form-bean and persistent data

2005-03-07 Thread Erik Weber
This is a valid way to do it. To be more specific, your Action would ask some delegate for the domain object, then it would use that object as either a scoped (request, session, etc.) attribute or as a field for your form-bean (if you are indeed using your form-bean for "setup" actions as well