DId you get an answer to your question?
Why do you need the session ID? Each servlet and JSP has access to the
session object. YOu can just call getId() on it.
Ed
-----Original Message-----
From: Hussain Shah [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 9:10 AM
To: [EMAIL PROTECTED]
Subject: sending a session id to a JSP via url rewriting
Hi all,
I'm making a HTTP call to a JSP from within a servlet (not a redirect). The
servlet is called from the user's browser, so it has the user's session,
however
when I try to pass the session id to the JSP, or even another servlet, it
doesn't work.
i've tried:
http://localhost/servlet/TestServlet$sessionid$[sessionid]
from within a servlet, as this is the format given when you rewrite a
servlet
using encodeURL().
I have switched on url rewriting from within websphere.
any ideas?
shah.
===========================================================================
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