| Author |
Forward Request
|
Michael Carlson
Ranch Hand
Joined: Sep 11, 2005
Posts: 78
|
|
How do you get index.jsp to forward a request to middle.jsp, and be able to access a string var in index.jsp. Thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
|
Place the string into a request-scoped variable via request.setAttribute().
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
Also, read up on RequestDispatcher.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Michael Carlson
Ranch Hand
Joined: Sep 11, 2005
Posts: 78
|
|
|
Thanks again.
|
 |
 |
|
|
subject: Forward Request
|
|
|