Can you help me with more source please? I am using <applet tag and not
object tag.

Thank you,
Best Regards,
Uma


                                                                           
             Veniamin Fichin                                               
             <[EMAIL PROTECTED]                                             
             >                                                          To 
                                                                           
             04/23/2004 01:03          Tomcat Users List                   
             PM                        <[EMAIL PROTECTED]>    
                                                                        cc 
                                                                           
             Please respond to                                             
               "Tomcat Users                                               
                   List"                                                   
             <[EMAIL PROTECTED]                                             
              rta.apache.org>                                      Subject 
                                       Re: Applet to Servlet session fails 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




[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]





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

Reply via email to