| Author |
Applet to Servlet session problem
|
Kalluru Uma
Greenhorn
Joined: Apr 23, 2004
Posts: 2
|
|
Hello, I have a JSP page with an applet in it. The applet talks to a Servlet. The session object that is present in my JSP page is not accessable in my servlet. How can I get the session object from my JSP page to the Servlet through an Applet? Thanks Uma
|
 |
Chris Stehno
Ranch Hand
Joined: Feb 26, 2001
Posts: 180
|
|
First of all, I think you need to give a little more information... like why cant you access the session in your servlet (are they on different servers or something?), and what kind of data are you trying to transfer... If your problem is that you dont know how to get access to the session in a servlet, then in the request processing method, try request.getSession() You probably dont need to transfer the entire session object, just a few attributes.
|
- Chris Stehno, SCPJ
|
 |
wally fer
Greenhorn
Joined: Apr 28, 2004
Posts: 5
|
|
|
you can use ServletContext to communicate with other servlet in the container.
|
 |
 |
|
|
subject: Applet to Servlet session problem
|
|
|