File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Passing Variables to JSP" Watch "Passing Variables to JSP" New topic

Passing Variables to JSP

k swamy

Joined: Jul 31, 2001
Posts: 14
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.
I agree. Here's the link:
subject: Passing Variables to JSP
It's not a secret anymore!