I need the full path to send that file via email as an attachment. Btw. the
MultipartRequest class uploads the file into some directory, you don't need
the file's full path to upload that it?
Thanks for the tip.

Martin Pribyl

----- Original Message -----
From: "Jason Hunter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 10:03 PM
Subject: Re: handling form with a file input element


> I suspect what you want is the path of the file as it's stored on the
> client, but browsers don't generally make that path available to the
> server (out of security concerns presumably).  You get the name and
> that's it.  If you really need the original path, you could use an
> applet to handle the upload, like
> http://www.infomentum.com/appletfile/.  It has other goodies too like
> directory-at-a-time uploading.
>
> -jh-

___________________________________________________________________________
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