Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet Servlet Communication Issues

 
sathish kumarit
Greenhorn
Posts: 1
Java Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..........

Regards,
Sathish Kumar G
 
Paul Clapham
Sheriff
Pie
Posts: 20771
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic