This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Applets and the fly likes applet Servlet Communication Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applet Servlet Communication Issues" Watch "applet Servlet Communication Issues" New topic

applet Servlet Communication Issues

sathish kumarit

Joined: Jan 10, 2011
Posts: 1

Hi friends,

The new request is created when applet makes the connection to servlet. So i lost my session
values stored in my request. Please anybody help me to resolve this problem.
How can i persist the request when applet servlet communication occurs.

Thanks in advance..........

Sathish Kumar G
Paul Clapham

Joined: Oct 14, 2005
Posts: 18165

Generally speaking, you will have to persist on the client side whatever it is that the server side uses to maintain its session. This could be cookies or you might have to send an extra parameter on the URL. But it's only possible to post general advice because you didn't post any of the applet code and you didn't say anything about how the server is maintaining its sessions.
I agree. Here's the link:
subject: applet Servlet Communication Issues
Similar Threads
Redirecting to JSP page from Servlet page
question for author Aaron Mudler
Dufference between Http Call and RPC Call
How to Send Session Object to Servlet through Applet
Random communicaton....Servlet to Applet ???