Well I go along with Jon and Randy, that you should take a look into this
book, but still I sometimes wonder how such things end up on this mailing list.
The file-upload problem you guys have is absolutely not related to servlets,
but more to the fact that you obviously never took a look into the
HTML recommendations.
However, fact is that a form actually can be submitted using a mime-type (if
method="post") specified via the enctype attribute.
Two of those are discussed in the W3C Recommendation, and HTML 4.0
compatible user agents have to support them:
1. application/x-www-form-urlencoded (which is the default)
2. multipart/form-data
Those for sure require different ways of server side processing,
regardless of the server side technology (module, CGI
script/programm, servlets...).
I hope that helps you on the way..
Dieter
>on 1/5/00 10:11 AM, Marty Elvidge <[EMAIL PROTECTED]> wrote:
>
> > I couldn't find any
> > documentation telling me how to "receive" the file in the servlet.
>
>Java Servlet Programming by Jason Hunter. It is an O'Reilly book.
>
>-jon
>
>--
>Come to the first official Apache Software Foundation
>Conference! <http://ApacheCon.Com/>
>
>
>
>
>------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]