It depends on the version.  The answer is no for Servlet-2.2 containers
(e.g. Tomcat 3.x).  The answer is yes for Servlet-2.3 containers (e.g.
Tomcat 4.x).  In fact, for Servlet-2.3 containers it is one of the most
common things that a Filter does.

If you are using Tomcat 4.x, then look into HttpServletRequestWrapper and
HttpServletResponseWrapper (both in the javax.servlet.http package).

"Gavin, Rick" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All
>   Is it possible to extend request and response objects to add a few
custom
> properties and / or methods relating to a particular system, and have
tomcat
> use those instead of the standard request and resonse objects?
>
> Thanks,
>
> Rick




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to