I want to map a Servlet to URLs ending in /, like /user/register/, /user/login/, but not any other resource under that path, not /*.
I tried /*/, but it doesn’t work.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I may be wrong, but I’m not sure this is possible. the wildcard * is only used at the end of url patterns: