-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

I'm trying to write a servlet that will accept file uploads.  I'm
using the com.oreilly.servlet.MultipartRequest class (from Jason
Hunter's book, available from oreilly.com) to do so, and my client is
Netscape 4.6.

It isn't working, because the type of the request is coming in as
"application/x-www-form-urlencoded", but MultipartRequest requires the
type to be "multipart/form-data".  I guess this must be a problem with
my HTML code, or with Netscape itself...  Any ideas?

Here's the HTML of the form:

<form method="post" action="Fit">
<p>Variable names: <input type="file" name="var"><br>
Data values: <input type="file" name="data"><br>
<input type="submit">
</form>

Thanks,

Solomon
--
 Solomon <|>   [EMAIL PROTECTED]
 Douglas /|\   http://web.mit.edu/srcd/www/


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to