This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

filter deployment

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I think it would work all right.
 
amarjeet kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yaah! the program will work correctly.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic