[EMAIL PROTECTED] wrote:

I have a JSP page that has an applet embeded in it. The Applet talks to a
Servlet. I have a session within the JSP when I try to access the session
within my Servlet, I get NullPointerException as there is no session
object.

How do I get the session object in my Servlet that is present in the JSP? I
am using Tomcat 5.0.19

If you use <OBJECT ...> HTML tag, you can pass parameter to applet with <PARAM ...> tag, namely "JSESSIONID". Inside applet you call servlet with that session id, that way everybody will know the same session. I had this model once and it worked.



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to