How do you pass variables from one
JSP page to another when you're not using a SUBMIT?
For example, I have three JSP pages.
Page 1 gets input from the user and calls Page 2.
Page 2 does a database lookup (using a bean) and presents the results as links.
What I want is that when I click on one of the links on page 2 and go to page 3, I can "pass a parameter" from page 2 to page 3 and still be able to use the variables from page 2 in page 3 to do more stuff with another bean.
I tried using <jsp:forward> but that skipped page 2 and went directly to page 3 (though it *did* have the correct variables passed).
I also tried the <FORM ACTION="URL for page3">, but that didn't include the variables from page 2.
I'm sure this is (probably) easy, but I don't see how to pass a variable from one JSP page to the next when a "SUBMIT" is *not* involved.
I looked and re-looked though the "COre/More" books, but could see an answer to this question.
Thanks for anyone's input.
-- Mike