i have a situation where an email is sent to a user containing a url in the format http://xxxxxxxxxx/user=ABCXYZ
where ABCXYZ is a randomly generated 6 digit alphanumeric code. My question is when the URL is clicked it should redirect to my application's servlet and that should be done from web.xml. Any lead would be appreciated. Also is there any other way for the same?