Reputation: 21
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?
Upvotes: 0
Views: 279
Reputation: 168825
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.
Upvotes: 1