This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Passing Variables to JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Passing Variables to JSP" Watch "Passing Variables to JSP" New topic
Author

Passing Variables to JSP

k swamy
Greenhorn

Joined: Jul 31, 2001
Posts: 14
Hi
I want to pass an array variable from Servlet to a Jsp.How this can be done.Help in this.
I am forwarding the request from the Servlet to a Jsp.There i want to access the array values that i stored in the servlet
Sunetra Saha
Ranch Hand

Joined: Feb 25, 2001
Posts: 77
Is there a problem with storing the object in the session? Otherwise that seems to be the easiest apporach.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Passing Variables to JSP
 
Similar Threads
Build Array in Servlet And Pass Back to Ajax Callback
access html form element value in servlet
no suggestions found
Array item selection
post data on popup then refresh parent window