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 method get called. So far, so good. When the action 
> method ends and forwards to the actual JSP page that will 
> display the form, the form bean gets re-instantiated, losing 
> all the changes that I made to it in the action method. It 
> seems like it should all be in the same request, since the 
> action forward happens at the server side, not back at the browser.

Look in your struts-config.xml for the "scope" attribute of
your action tag. If it is "request" then you have to take the formbean
from the request, if it is "session"... and so on.

hth
Hans-Joachim Matheus
-- 
mailto:[EMAIL PROTECTED] \
in-integrierte informationssysteme GmbH \
Am Seerhein 8     Tel +49 (0)7531/8145-0 \
D-78467 Konstanz                  Fax -81 \
-------------------->http://www.in-gmbh.de \

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

Reply via email to