Forums Register Login

How to turn an applet into a standalone application while using Cookie

+Pie Number of slices to send: Send
I have an applet which uses Cookie to get some init data. Now I have to turn the applet into a standalone application. It works well except the Cookie function.

Does anyone know how to fix the problem?
+Pie Number of slices to send: Send
A cookie only works in conjunction with an HTTP connection to a web server. So unless you specifically make that connection (e.g., using HttpClient or java.net.HttpURLConnection), you won't be able to get at the cookie.
If you indeed have an HTTP connection, it would help if you explained what exactly doesn't work.
I AM MIGHTY! Especially when I hold this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 686 times.
Similar Threads
run applet from java class
adding a graph to your application
A K Gupta mock exam - good one!!
role of cookie in session
Session Store n Load in Single Servlet
More...

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