Hi Erik,

now you have already been told, where to look in the first 
place.

I found Hunter's explanation of ServletResponseWrappers etc. not 
so easy to understand. If you have questions with this, I 
recommend the following message:

From: Andreas Probst <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: Is there any way to read the response headers in a 
filter in Tomcat 4.0.3 ?
Date: Mon, 21 Oct 2002 12:43:27 +0200

(I forward this to you.)

Regards.
Andreas



On 11 Dec 2002 at 12:06, Price, Erik wrote:

> I have been learning about servlet programming from "Core
> Servlets".  I like this book.  But, since subscribing to this
> list, I have seen mention of "filters".  In a message from Yoav
> Shapira I was recommended to use "filters" to validate form data
> before passing it to a servlet.  This seems to me a cleaner means
> of doing it, as opposed to putting form-validation code in the
> servlet.  However, "Core Servlets" does not describe how to use
> filters (that I know of).  Is there a reference for this
> technique somewhere, or is it a generic term for "a servlet that
> intercepts, acts upon, and passes along data" ?  If it is the
> latter then I can figure it out from using
> getDispatcher().forward() etc but if it is a specific technique
> then where can I learn more?
> 
> My Tomcat container is v. 4.0.6.
> 
> 
> Erik
> 



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

Reply via email to