RE: learning filters

2002-12-12 Thread Shapira, Yoav
Howdy, 1. Is it a good idea to do so? Depends on your use cases. How many entry points does your app have? 2. The filter mapping tag in the web.xml now looks like: a. filter-mapping/*/filter-mapping b. Would this not slow down the application, since in a standalone scenario, all request for

learning filters

2002-12-11 Thread Price, Erik
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

Re: learning filters

2002-12-11 Thread Jacob Kjome
Hello Erik, Filters were introduced in the Servlet 2.3 specification. Your book probably only covers Servlet 2.2. Tomcat-4.x.x supports the Servlet 2.3 spec so, Filters are doable. See the following resources for starters... Essentials of Filters

RE: learning filters

2002-12-11 Thread Shapira, Yoav
Howdy, 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 This article provides a good overview with some examples: http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html out from using

Re: learning filters

2002-12-11 Thread Jeanfrancois Arcand
A good start will be to read the specs section 6 where filter are explained. http://jcp.org/aboutJava/communityprocess/first/jsr154/ You will certainly learn the basic of filters. -- Jeanfrancois Price, Erik wrote: I have been learning about servlet programming from Core Servlets. I like

Re: learning filters

2002-12-11 Thread Andreas Probst
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

RE: learning filters

2002-12-11 Thread Subir Sengupta
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

RE: learning filters

2002-12-11 Thread Aleksandr Shneyderman
filters 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

RE: learning filters

2002-12-11 Thread Manavendra Gupta
for images will also go through the filter? Regards Manav. -Original Message- From: Aleksandr Shneyderman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 12:05 AM To: Tomcat Users List Subject:RE: learning filters there is also a nice article on JavaPro here