Having trouble getting Applets to save info
1 posts in topic
Flat View  Flat View

Posted By:   Nick_Trout
Posted On:   Saturday, July 27, 2002 09:08 AM

Hi, I'm having difficulties getting my applets to read and/or save information on the web server. All the file permissions are set correctly and I'm trying to save (for example) a simple string to a text file (which already exists) in the same directory as the applet on my web server.
I believe this can be done. Can anybody show me how?

Thanks in advance.

Re: Having trouble getting Applets to save info

Posted By:   Bogdan_Sheptunov  
Posted On:   Sunday, July 28, 2002 10:02 AM

The applet executes not on server, but on a client machine. The applet can not save a file on a web server, because it would not see web server's filesystem.

If you need to send something from applet to your web server, you'll have to think of different ways of doing that (FTP, connecting to some server side code, whatever else).

About | Sitemap | Contact