D
Dan Valero
I have been learning JSP and Beans with respect to form processing.
Noob question here:
I have a 3 page sign up process:
form1 (user info) -->
form2 (prod info) -->
Page 3 (Thank you, confirm, u/d database)
Using beans and introspection I set form1 and form2 beans to session
scope so I can use them on page 3 for updating etc.
This works ok, except if I page back from form2 to form1, change a
value, the change is never recognized. I assume setting the beans to
session scope is the culprit, but how should I do this correctly? Use
request scope then drop it in the Session manually when I have
validated it, then get it back on page 3?
thanks for any words of wisdom,
Dan
Noob question here:
I have a 3 page sign up process:
form1 (user info) -->
form2 (prod info) -->
Page 3 (Thank you, confirm, u/d database)
Using beans and introspection I set form1 and form2 beans to session
scope so I can use them on page 3 for updating etc.
This works ok, except if I page back from form2 to form1, change a
value, the change is never recognized. I assume setting the beans to
session scope is the culprit, but how should I do this correctly? Use
request scope then drop it in the Session manually when I have
validated it, then get it back on page 3?
thanks for any words of wisdom,
Dan