To quote another response to a previous thread:

>Read 5.1 point in Servlet 2.2 specification.
>getParameter works only for application/x-www-form-urlencoded content
types.
>Konrad mailto:[EMAIL PROTECTED]

However a servlet can receive a multipart/form-data post request, it just
has to handle the given information itself.

See Jason Hunter's file upload servlet utility at:
http://www.servlets.com/resources/com.oreilly.servlet/MultipartRequest.html

Jason B.

-----Original Message-----
From: Jan Heise <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, October 24, 2000 11:19 AM
Subject: Question on <form method="post" enctype="multipart/form-data">


>Hi all,
>
>I'm trying to use <form method="post" enctype="multipart/form-data"> for a
form
>in a JSP. On a first try, this broke delivery of parameters from the form
>to the servlet.
>I just want to ask if "multipart/form-data" is allowed by the spec before
>diggin into
>the docs.
>someone got a hint?
>
>jan
>
>

Reply via email to