aspose file tools
The moose likes Servlets and the fly likes filter deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "filter deployment" Watch "filter deployment" New topic
Author

filter deployment

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2036
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: filter deployment
 
Similar Threads
Struts Filter
Applying more than One Filters
Who is First Filter or Servlet
Dispatcher tag in DD for filter mapping
Deployment Descriptor web.xml