![](/style/images/good.png)
![](/style/images/bad.png)
Can a Java applet keep a socket connection on a new web page?
source link: https://www.codesd.com/item/can-a-java-applet-keep-a-socket-connection-on-a-new-web-page.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Can a Java applet keep a socket connection on a new web page?
I have an applet that I want to maintain a socket connection between multiple web pages. Currently, when a transition is made to a different page, the socket connection is closed. Is there anyway of maintaining that connection between web pages? Or, do you have to reconnect the socket after each web page transition?
Unless you can put the applet in a separate frame or load the rest of the page via AJAX, the applet is being reloaded when the page is. So no, there really isn't a way.
Related Articles
Can a Java applet use the printer?
Keep the socket connection in Android activity
How many hardware details can a Java Applet discover?
Keep the socket connection between activities on Android
Alternative to the Java applet for accessing the file system from the Web
Java applet caching forever, do not download a new version?
How to connect to a JSP web page using Android?
Can I copy the list of HTTP requests made by a Web page off the Firebug Net panel?
How to link the java applet to the socket?
Can a Java applet send information to the server?
How to manage the socket connection on an iPhone Web application that uses a node.js server?
Can the Java Desktop library launch a URL in a new tab or browser window?
How to keep a single FRAGMENT to display multiple web pages
Verify the connection information from the web page
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK