You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Lenharcik, Juraj" <Ju...@t-systems.com> on 2002/11/25 15:20:25 UTC

ActionForm instance lost

Hi,

I overwrite my ActionForm instance with a new one, which is deserialized
from xml.

Test t = (Test) form;
.....
t = u.unmarshall(reader);	// XML --> Java

When I formward to the JSP, the values from the Test ActionForm are not
accessible. If I write this:

request.setAttribiute("myform", t);	//myform ist the configured name of
the form in struts-config

Everything works fine. 
Is there a possibility to do this without the static line (myform) ? I tried
to solve it with the ActionForm.servlet, but it doesn't work.

Thank you,
Juraj

 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>