-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Oliver Pereira
Sent: 14 December 1999 08:28
To: [EMAIL PROTECTED]
Subject: How do i access a file at the client side for read/write purpose ?
>Hi All,
>How do i access a file at the client side for read/write purpose ?
>thanks in advance
>Regards
>Oliver
Short answer is: you can't.
JSP is server side only, what the browser sees is a static (HTML) page. You
could have the user upload a file from their browser but that is something
else.
Even if you put JavaScript or a Java Applet into the page you can't normally
access the user's local files - it would be a security risk. You could use a
'trusted' Applet and grant it access to the local file system and pass the
information on to a servlet.
HTH,
Steve S
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html