I am experiencing a strange phenomenon with the usage of tokens in my programs. Tokens are supposed to be stored as an hidden parameter in the form and it is to be stored only when he explicitly call saveToken() in the action class. But my tokens are some how disabling my other hidden parameters in my forms . Due to this reason i am not able to submit my forms. I have two jsps which have the same form bean and the second
jsp is the jsp which saves all the information .To prevent users from saving twice i used tokens . The problem i am facing right now is that when user clicks submit in step2. It is going back to step1 . Actually i have three steps.
Step1 ,step2 and step save. Step1 and step2 are in same jsp and they are displayed using DIV's and step3 is a different jsp. These two different jsp's are having different beans. Is there any problem in this. In order to solve this problem i had to use sessions and set some values to suggest form completion ,but i dont feel its a good way to do . Can any one clarify this problem for me .