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 filter deployment 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 "filter deployment" Watch "filter deployment" New topic
Author

filter deployment

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2046
if both the servlet name, and its servlet mapping are given same filter mapping, is it ok? (in other words, the filter mapping was defined for both the servlet's servlet mapping, and this same servlet's url mapping)

it is the same component that he is filtering. will there be, duplicate error in runtime, or something like that?

i did it and so far it is running. But just want to know if anyone has any comments on this.
[ October 21, 2006: Message edited by: Jesus Angeles ]
Justin Yao
Greenhorn

Joined: Jun 16, 2006
Posts: 19
Hello,
I think it would work all right.
amarjeet kumar
Greenhorn

Joined: Oct 21, 2006
Posts: 2
Yaah! the program will work correctly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: filter deployment
 
Similar Threads
Deployment Descriptor web.xml
Dispatcher tag in DD for filter mapping
Who is First Filter or Servlet
Applying more than One Filters
Struts Filter