Umesh,
 
Here is what you need to do.
 
In the originating JSP:
 
<%
String[] arrayOfString = new String[10];
HttpSession session = req.getSession(true);
session.putValue("stringArray", arrayOfString);
%>
 
In the receiving JSP:
<%
HttpSession session = req.getSession(true);
String[] arrayOfString = (String[])session.getValue("stringArray");
%>
 
 
 
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Umesh Mehendale
Sent: Wednesday, June 16, 1999 11:53 AM
To: [EMAIL PROTECTED]
Subject: Passing Data from JSP to JSP

How do I pass Data from JSP to JSP
 
for e.g , I have to pass an array of strings to another JSP from current JSP ....
 
I would appreciate if someone could help with dummy code !!!
 
Umesh.

Reply via email to