Please elaborate on, "url-pattern... unique to world"

Al Johnson March 20, 2017

This question is in reference to Atlassian Developer Documentation: Servlet Filter Module

Can anyone elaborate on this note in the above page?

Because servlet filters are deployed beneath root, be careful when choosing each url-pattern under which your filter is deployed. If you plan to handle the request in the filter, it is recommended to use a value that will always be unique to the world! 

Thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Panos
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2017

I means that servlet will do pattern matching and will be recursive. If you use for example /display/* then all urls under /display will be filtered no matter how much nested they are.

Al Johnson March 21, 2017

Have no idea what you are saying.  Most everyone knows that URL endpoints have to be unique, so I'm assuming they mean something more than that.

TAGS
AUG Leaders

Atlassian Community Events