Marc Vila P�rez wrote:
>
> Hi!!!!
>
> I have to implement a push method, where from an html page, with a
> FORM (<FORM ACTION="reciver.jsp" METHOD=POST
> ENCTYPE="multipart/form-data">), I send a file (an
> image for example).
> In the receiver side I don't receiv any parameter.
>
> Can anybody help me?
You need a utility class to read the multipart/form-data input, such as
com.oreilly.servlet.MultipartRequest. It's a utility class from my book
"Java Servlet Programming" -- imho a useful book for JSP authors as well
as servlet authors because it has stuff like this. Info and source is
available off http://www.servlets.com.
(The site may be down right now, the server's acting up and I'm
working with my host company to track down the problem.)
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html
===========================================================================
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