Hi all,

I would like to implement an upload facility :

The user should be able from an html form to select a file from his local
resources (by browsing his local system files).  Then, the form
posted to a servlet would upload the file and update a repository on the
server side.

I don't think that it's possible with html forms and servlets.  The only way
I see now is building an applet to allow the user to browse its
local system files.  Then, load the file through the applet, serialize the
stream and send it to the servlet.
My concerns are : is it possible with untrusted applet (or is it necessary
to sign it and for the user to update its policy file) ?, can the transfer
be done
through HTTP (to avoid firewall problems with RMI) ?

My final concern (maybe the most important), am I taking the long way around
?  Maybe is there a better solution for this general upload issue (general
architecture, design patterns ?)

Thanks for helping me.

Bertrand Legros.

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

Reply via email to