This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Interview Guide this week in the Jobs Discussion 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: 19973

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
It's not a secret anymore!