Filters are covered in the "More Servlets" book, which is the next edition
of the "Core Servlets" book.

-----Original Message-----
From: Price, Erik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 9:06 AM
To: [EMAIL PROTECTED]
Subject: learning filters


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]>

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

Reply via email to