Hi Dieter

I have been on this servlets list for a long time ( probably a year or more ) 
and it gets very few questions of any nature.  Marty may or may not have been 
doing his homework, but he is saying he is trying to write a servlet.
So if one should not talk about how to write any old servlet program here,
what should one talk about on this list ?
As mentioned, a file up-load program is completely listed in the  "Java Servlet 
Programming" book and is one of its largest listings.
And more importantly, where in your opinion is a list that we can freely discuss 
servlet application code ?

In my opinion, many people are dissuaded from submitting anything, if what they 
read on the list is along the lines of:-
> but still I sometimes wonder how such things end up on this mailing list.<

What I want is a list where we can discuss anything regrading servlet 
programming, even if it's a simple problem to most programmers.

btw, file up loading using a servlet, I do not consider to be trivial.
Even the books program does not work in all cases, and I found the code 
unnecessarily broken up into seemingly random small routines all uncorrelated to 
the mentioned rfc1867 it proports to implement, which made reading and 
understanding it much more complicated ( and longer ) then it could have been.
After some work, I now have what I consider to be a simple and 
customisable file uploader,
and I'd be happy to send it to anyone on this list who wants to use it.

Best regards
James Burton


>
>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]
>



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to