You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by hillybilly <hi...@gmx.at> on 2007/11/09 15:47:48 UTC

struts 2: data lost when switching from jsp1 to jsp2 and back

hi,
i'm new in struts2 (i did already a projekt with struts 1) and i cannot find
lot of support/tutorials in the internet.

until now, i like struts2 and the new improvements. but i'm stuck with this:

i have 2 forms, on form1 the user enters data and selects "actionA" which
directs him to form2. here the user enters additional data and clicks on
"actionB" which should direct him back to form1. in this case, all the data
in form1 that user entered before is lost. 
moreover, how can i access data from form2? do i have to save data in the
session (session.setAttribute) ??

in struts1, i used a formbean with scope=session, so this was no problem
here.

i'm confused! :)
please help me!

cheers,
   chris
-- 
View this message in context: http://www.nabble.com/struts-2%3A-data-lost-when-switching-from-jsp1-to-jsp2-and-back-tf4778075.html#a13668330
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org