Hi, servlet api question here:

Is a RequestDispatcher.forward() or include() guaranteed to call close()
on the Writer or OutputStream it requests?

The specification seems ambiguous... it says that the end of a service()
method should close the stream, but does that apply to include()ed
documents or just the "top level" service()?

I'm writing some code that masquerades as the HttpServletResponse and I
would like to perform some processing when include() finishes - without
the include()ing code knowing that the response is a fa�ade.

Am I doomed?

Jeff Schnitzer
[EMAIL PROTECTED]

___________________________________________________________________________
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