This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 2057
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.
 
GeeCON Prague 2014
 
subject: filter deployment