And again a post about 'file upload' ;-)

Wouldn't it be a good thing that the servlet engine could handle the
multipart/form-data format? IMO it's something that should not be handled by
the developer.

Geert Van Damme

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Hans Bergsten
> Sent: dinsdag 13 juni 2000 23:52
> To: [EMAIL PROTECTED]
> Subject: Re: uploading a file
>
>
> Pedro Meza wrote:
> >
> > I am trying to use JSP to upload a file.
> >
> > Does anyone have bean code to do this ????
> >
> > If I have a form with a FILE element how is this passed to the bean ????
>
> File uploading is done through a special encoding (multipart/form-data)
> of a POST request, and JSP pages do not deal with this type of encoding
> easily. You're much better off using a regular servlet for uploading.
>
> A commonly used file upload servlet is Jason Hunter's, available at
> <http://www.servlets.com/resources/index.html>. Also, search through
> the archives for this mailing list and SERVLETS-INTEREST since this
> has been discussed many, many, many times before ...
>
> Hans
> --
> Hans Bergsten           [EMAIL PROTECTED]
> Gefion Software         http://www.gefionsoftware.com
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to