File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "filter deployment" Watch "filter deployment" New topic

filter deployment

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2068
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

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

Joined: Oct 21, 2006
Posts: 2
Yaah! the program will work correctly.
I agree. Here's the link:
subject: filter deployment
It's not a secret anymore!