This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Filters not served by container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Filters not served by container" Watch "Filters not served by container" New topic
Author

Filters not served by container

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

I read as

'A Servlet is equivalent to web resource except that it is dynamic. A filter on the other hand is not a resource that container serves.'

I am bit confused about above statement. Who serve the filter if not container. Any ideas, resources, links, sample code highly appreciated. Thanks in advance
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18114
    
    8

I suppose you don't know what "serve" means in the web context. It means to send a resource from the server to the client. The client doesn't use the filter, only the container does. So there is no need for the container to serve it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Filters not served by container
 
Similar Threads
Filters
Filter invocation
filter chain
a web container question
Problem to filter requests to App name