The servlet cannot write directly onto the user's hard drive (unless we're
talking about cookies)--to allow that would open up HUGE security holes.

You might be able to achieve the same thing with a signed applet that
received the information to save from the servlet and in turn saves it on
the user's system, but I'm not real familiar with signed applets in general,
so I can't say just how far out of the sandbox they can go.

Ted Neward
Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here
http://www.javageeks.com/~tneward
 "I don't even speak for myself; my wife won't let me." --Me

-----Original Message-----
From: Peter <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, June 20, 1999 11:35 AM
Subject: Can a servlet write to a file in the clients hard drive?


>Is it possible for a servlet to write a file onto the clients hard drive ?
>
>I'm making a small payroll program where the user wants to save the payslip
>onto his/her hard drive so that it can be printed later.
>
>So far I've only managed to get the servlet to print files back to the
>server under a directory owned by user/group nobody.
>
>Somebody help...............
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to