Title: Message

hi,

i'm looking into the 2.2 servlet spec, section 8.3 (Include). The text in the paragraph reads as:

"The target servlet has access to all aspects of the request object, but can only write information to the ServletOutputStream or Writer of the response object as well as the ability to commit a response by either writing content past the end of the response buffer or explicitly calling the flush method of the ServletResponse interface. The included servlet cannot set headers or call any method that affects the headers of the response."

here's my question: should the setter methods on the request object be ignored? there are two methods that could modify the request state:
- setAttribute
- removeAttribute
should these methods be muted when the target servlet is invoked?

thanks,
mark.

Reply via email to