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
-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
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.
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
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
5 matches
Mail list logo