File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes applet Servlet Communication Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "applet Servlet Communication Issues" Watch "applet Servlet Communication Issues" New topic
Author

applet Servlet Communication Issues

sathish kumarit
Greenhorn

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..........

Regards,
Sathish Kumar G
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: applet Servlet Communication Issues
 
Similar Threads
Random communicaton....Servlet to Applet ???
How to Send Session Object to Servlet through Applet
question for author Aaron Mudler
Redirecting to JSP page from Servlet page
Dufference between Http Call and RPC Call