This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes filters not clear Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "filters not clear" Watch "filters not clear" New topic
Author

filters not clear

Poornima Sharma
Ranch Hand

Joined: Sep 09, 2008
Posts: 114
Hi friends I am refering HF JSP but I am not able to understand filters .
please suggest some other books or links.

Thanks


Poornima Sharma
SCJP 6.0
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60743
    
  65

As filters are more of a Servlet concept than JSP, i've moved this post to the Servlets forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60743
    
  65

Filters are a way of executing code before and after a resource (like a servlet or JSP) gets executed. They're good for doing things that should be done for many requests, but that have nothing to do with the current request. Frequently filters are used for things like checking authentication (so that it doesn't have to be hard-coded everywhere), or to compress the response.

Filters should not be used to replace functionality that is specific to a request.

Google for "servlet filter" for more information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: filters not clear
 
Similar Threads
A question on filter
Filters
Servlet Chaining??
ServletContextListener Question
Filter Chain Order