Hi,
I defined 2 actions in session scope referring the same
form. The first
action sets some properties in the form and then forwards
the request to the
second action. The second action sets some more properties
and then forwards
to a JSP page which contains the html form. The
ROSSEL Olivier wrote:
Hi,
I defined 2 actions in session scope referring the same
form. The first
action sets some properties in the form and then forwards
the request to the
second action. The second action sets some more properties
and then forwards
to a JSP page which contains
Olivier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 12:43 PM
To: 'Struts Users Mailing List'
Subject: RE: Loosing form data when chaining actions
Hi,
I defined 2 actions in session scope referring the same
form. The first
action sets some properties in the form
I have encountered this problem before. Try this:
Within your first Action set the get the values that are not
being passed from the request object. Then before forwarding
to the next Action set these values explicitly in the request
objects attributes.
My current method is to use a
On Tue, 3 Dec 2002, [utf-8] Etienne Labonté wrote:
Hi,
I defined 2 actions in session scope referring the same form. The first
action sets some properties in the form and then forwards the request to the
second action. The second action sets some more properties and then forwards
to a JSP
form data when chaining actions
1. make sure u are not creating a new instance of the form bean in the
second action and you have name attribute for both the action mappings(they
should be same, since u are using same form in both actions).
2. if you are going from the first action to the second
1. make sure u are not creating a new instance of the form bean in the
second action and you have name attribute for both the action mappings(they
should be same, since u are using same form in both actions).
2. if you are going from the first action to the second action directly(ie.,
first
7 matches
Mail list logo