Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applet & File Delete

Status
Not open for further replies.

kkarnez

IS-IT--Management
Mar 1, 2001
19
GR
Hello,
how can I delete a local file from a java applet?
ps. (The web server runs locally)

thanks
 
Sun Microsystems has made Java a very secure language by not allowing an applet to have access to the client or server files. This is what they call the sandbox and there is information about it on Suns web site. You can however pass data to a servlet from an applet using the steam classes and HTTP, etc.

I have been looking for a way to ftp files to the client machine around the sandbox with no luck. The only thing I could find was Microsoft's override of the PolicyManager, but this is for IE only and is with Microsoft's SDK version of Java. Basically the one that they developed and may have gotten sued for by Sun for taking their Java language theroies. The only pure Java language, JVM platform independent, is Suns Java.

Good luck,
Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top