OK guys !

What is the best "FREE" servlet/JSP engine available

Note i want to be using idealy JDK 1.2,servlets 2.2 and JSP 1.1 eg the
latest versions.

However support for servlets 2.0,2.1 or JSP 1.0,1.1     is ok but i want to
use JDK 1.2


-----Original Message-----
From: Nic Ferrier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 17, 1999 10:08 AM
To: [EMAIL PROTECTED]
Subject: Re: chunked again


>>> "Rogatkin, Dmitry M" <[EMAIL PROTECTED]> 17-Nov-99
9:41:17 AM >>>

>Yes, it's a gap in servlet API specification. If you
>are going to distribute your servlet, you have no
>idea what servlet engine will be used and you have
>no way check, will it support chunked encoding or not.

I agree this is a weakness. But the API tries to abstract servlet
developers from the details of HTTP, which is a good thing for those
of us who don't know much about it.



> Actually, current servlet specification is pretty clear
>regarding this issue. Servlet engine provides plain stream
>for yours output, and it's a servlet implementator responsibility
>to add any encoding over it.

Welll... I don't think it says this exactly does it? Servlet
containers have always provided extra tools. Indeed any servlet
container supporting HTTP/1.1 and persistent connections MUST support
chunked encoding according to the HTTP spec so that's that.



> Actually, a servlet engine provider has no idea how are you going
>to use chunked encoding, when chunk should be finished, and send
>to client.

Not so. The chunking layer doesn't need to know about the application
layer at all. See my chunked encoding class which is part of
GNU-Paperclips.



>I think, some helper classes can be added to servlet.util
>package to help a servlet developer implement chunked
>encoding for particular needs.

No.

We don't need to do this because it is not necessary for the app
layer and the chunking layer to communicate. It would also make the
API and implementation more complex.



Nic Ferrier

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to