There's no "servlet path" in a URL. The Servlet path is what gets extracted from the URL by as part of the process of routing a URL to a servlet.
An IDE is no substitute for an Intelligent Developer.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Redirect requests with web.xml url-pattern