Why are you doing a redirect rather than a forward?
Is the jsp part of the same context as the servlet?

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Narayanaswamy, Kumaran
> (CTS)
> Sent: 06 September 2000 15:35
> To: [EMAIL PROTECTED]
> Subject: Query Regarding Sessions
>
>
> Hi
> Iam fecthing a Set of Records form the Database through a Servlet and
> storing the result in Vector.Then iam loading the Vector into session and
> redirecting the Control to a JSP from the Servlet.When i access the vector
> in the JSP iam getting null.The Application server which iam using is IBM
> WebSphere.
> In servlet The code Looks as follows
> Vector selectedRows = comes from the EJB
> session.putValue("SelectedRows",selectedRows);
> res.sendRedirect("/web/Data.jsp")
>
> In JSP when i access  the
> session.getValue("SelectedRows") iam getting null
>
> I donno where its going wrong,Can anyone help
>
> with regards,
> Kumaran
> ________________________________________________
> Cognizant Technology Solutions India Ltd,
> 1st Floor ,T.S.140 No 2 & 9,
> C.P.T Toad .Taramani
> Chennai - 600 113.
> Phone(0ff): 044 - 2354281/2354411 Extn: 4443
> EMail : [EMAIL PROTECTED]
> _________________________________________________
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to