Forums Register Login

How to include session info when forwarding from applet to jsp?

+Pie Number of slices to send: Send
Howdy.
I'm using the following to forward control from an applet to a jsp:
getAppletContext().showDocument(new URL(newjsp));
Controll is NOT being returned to the applet.
Basically, oldjsp is submitting a job and forwarding control to the applet. The applet simply counts results. Once the job is finished, the applet forwards controll to the newjsp. I need the newjsp to know session info from old jsp.
I've worked with HttpURLConnection classes, but these seem to only help when conrol is being returned to the applet.
How can I send previously saved session (cookie) information to the new jsp.
In other words, how can I force the new jsp to utilize a previous session?
+Pie Number of slices to send: Send
I would seriously consider rewriting the url that the applet is going to forward to include the session information.
Read up on it here:
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets11.html#66642
You know it is dark times when the trees riot. I think this tiny ad is their leader:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1039 times.
Similar Threads
how to send session info from Applet to servlet?
Prevent timeout on parent jsp where applet resides
how to send session info from a jsp to an Applet and back to jsp
How to pass the radio button attribute checked=true from the Java servlet to JSP
Stopping the exicution of a exicute till the control returns back
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:24:53.