Hi,

I have some API questions, hopefully someone can shed some light.

RequestDistpatcher:
Why does forward throw an IllegalStateException while include throw IOException if the
ServletOutputStream or a writer had already been obtained from the response object.
Shouldn't they both throw the same exception (IllegalStateException)?

ServletResponse:
Why is it that an exception is not thrown if getWriter/getOutputStream are called more
than once?

___________________________________________________________________________
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