I use a session-scope ActionForm for my pages. I have one problem during
navigation.

 

PageOneLoadAction:
request.getSession(false).setAttribute(mapping.getAttribute(),
myActionForm)

PageOne.jsp: enter myActionForm.id

PageOneAction: forward to PageTwoLoadAction

 

PageTwoLoadAction: load PageTwo.jsp

PageTwo.jsp: enter myActionForm.name

PageTwoAction: forward to PageThreeLoadAction

 

PageThreeLoadAction:: load PageThree

PageThree.jsp: enter myActionForm.address

PageThreeAction: ((MyActionForm) form).setAddress(null); forward to
PageTwoLoadAction

 

1 -> 2 -> 3 -> 2 -> 3

 

When I go back to page three, I still see the address that I entered.
Where does the value come from?

 

 

 

Reply via email to