简体   繁体   中英

Java Applet on Tomcat using servlet?

I have a working applet on my Tomcat server but in this applet I need to save information locally.

I used writefile.. and it was working on eclipse, but it doesn't work like that on a server..

I did a lot of research to do a servlet to be able to save the information in an html file. I know I have to use a Post, but I don't know how.

I also want to know if the servlet is just a Servlet.class placed in my tomcat folder and how to call it from my java application?

First, I used writefile.. and it was working on eclipse, but it doesn't work like that on a server..

Continue using that. The applet will need to be digitally signed before it can be successfully deployed, so if it declares all-permissions in the manifest, it should be able to write to the local file system.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM