what is the best method to pass information between jsp 1.session variable? 2.url rewriting? 3...?
3) hidden variables
1) if you are putting the information in session, then remove it once the info is saved. Otherwise, it may make session heavy.
2) url rewriting will also do, but you will have to explicitly create the url ( like ?param1=<%=value%>
so for me, hidden parameters look like the best solution. Correct me if i'm missing anything.
Oops, didnt notice you have 5 jsp's. So, if there are too many parameters, you may prefer to create one object with those parameters and set it in session. But dont forget to remove it once you are done with it.