Hi there,

I have a problem with binary files upload.
Can you show me your code please?
I am getting crazy...

cheers

jfolha

----- Original Message -----
From: "Ovais Ahmad Khan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 10, 2001 6:37 PM
Subject: Uploading file


> hi,
>
> i'm having problem in getting an uploaded file via the servlet. i'm
> using the following in the first page:
>     <FORM ENCTYPE="multipart/form-data" method=post
>       action="/servlet/UploadServlet">
>       <INPUT TYPE="file" NAME="thefile">
>       <INPUT TYPE="submit" VALUE="Upload">
>       <INPUT TYPE="reset" VALUE="Reset">
>     </FORM>
>
> now in the servlet's doPost method, i'm using the ServletInputStream to
> get the data but it's giving me the data in raw format, with all the
> headers,...
>
> now does there exists some trick to get the real data (file) out of
> this.
>
> thanks
> --
> Ovais
>
> Right handed people live, on average, nine years longer than left handed
> people do.
>
>
___________________________________________________________________________
> 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

Reply via email to