Hi,

Servlets are server-side java classes, and I would like to quote certain
manuals where they say servlets are to server just as applets to client ...
So if you want to write something on client's computer you shall be needing
to write a small applet that speaks to servlet's "please write something on
client's disk". However not all clients allow writing on disks you know
security reasons ...

Why don't you instead make a small table in your database containing
"client_id, report_blob, etc_" and then if client wants to print it later,
it is easy to retrieve then and there. It also fits into a "networked
business" idea. Some clients use diskless stations ie. network computer ...

Dragomir Milivojevic

>
> 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

Reply via email to