Hi Sushant,
You have to use multipartRequest to upload the file.
For reference see The file upload example in Jason Hunter Servlet book.
You have to download the multipart request package from the oreilly site.
Debasish
----- Original Message -----
From: Sushant Kumar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 21, 2000 7:16 PM
Subject: File upload..
> Hi all..
>
> I am trying to upload a file to my server using Form. I am setting one of
> the the input's type as File. But, on the servlet side I couldn't find any
> method to read the request's data as file..
> does anyone has any idea about how to do this?? I am using web-server
> provided with jswdk1.0.1.
>
> Regards,
> Sushant
>
>
___________________________________________________________________________
> 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