I had the same problem when trying to use a sequence of pages to complete the same form.
 
I turns out that struts ActionServlet class calls the "reset" method of your form between requests, thus erasing your form.  I even tried to put the form in a "session" but had the same problem.  Finally I put conditions around the reset statements in the reset method ot block unwanted resets.
 
I would like to know a more elegant solution to this, but it works.
 
D
-----Original Message-----
From: Jonathan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 3:39 PM
To: [EMAIL PROTECTED]
Subject: Action forward to Action losing request objects ??

I am submitting to an Action which when successful places an object in the request and forwards to a second Action, which looks for the item in the request, and forwards yet again to a third Action which gets the item placed in the request object by the previous Action:
Action1---->Action2(put in object)---->Action3(getobject)
 
I am loosing the object in the request between Action1 and Action2 for sure.  Anyone know why?

Reply via email to