hi Gopinath,
You could set the request object attributes, instead of thinking in terms
of sessions. On a new search you could reset the request objects attribute.
regards
Vinod
Vinodh Kumar B
Technical Leader
IT Solutions
[EMAIL PROTECTED]
Office: 6655122 Extn. 2153
Mobile: +91 9845458208
--
: Thursday, December 12, 2002 2:10 PM
To: Struts Users Mailing List
Subject: Re: Form Bean Scope.
hi Gopinath,
You could set the request object attributes, instead of thinking in terms
of sessions. On a new search you could reset the request objects attribute.
regards
Vinod
Vinodh Kumar B
In the struts config set the scope=session (in the action tag) then you
can refer to any object from that form-bean by referring to its name
specifically. You do have to be careful mind that the form-bean has been
created and populated BEFORE it gets referenced by any other jsp pages.
-user; Vinodh.Kumar
Subject: RE: Form Bean Scope.
Hi vinodh,
That didn't work. Note i need to call the action (basicSearch.do) again from
the searchResults.jsp and not from basicSearch.jsp. At this point i need to
same instance of formbean which was created on basicSearchAction called from
Von: Bryan P. Glennon [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. April 2002 16:51
An: [EMAIL PROTECTED]
Betreff: Form Bean scope
I must be missing something here...I have a form bean and an
action. When the
action is invoked, the bean gets instantiated and I see it's
validate
Declare the bean in session scope inside your action mappings like so:
action mappings
action path=/customerInfo
type=com.tessco.web.action.CustomerInfoAction
name=EditCustomerForm
scope=session
validate=true
forward name=success
6 matches
Mail list logo