I have two pages one is step1.jsp, here the user can input its Function, for example DNF and KNF. The user can select gates or multiplexer, with which the function will be simulated in step2.jsp. Now if the user clicks on "next"-button, he is forwarded to step2.jsp (using Struts2 technologie) where the function is simulated (with gates or multiplexer depending on his choice).
What I want to realize: Throw "back"-button in step2.jsp, when the user clicks on this button, he will be forwarded to step1.jsp and can select "multiplexer" or "gates" again. How to keep the functions, the user has entered in step1, sothat thy can be used again, even after changing to step2.jsp an back to step1.jsp?