aspose file tools
The moose likes Servlets and the fly likes Servlet aliasing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet aliasing" Watch "Servlet aliasing" New topic

Servlet aliasing

santosh mr

Joined: Jun 19, 2001
Posts: 1
I have just now started using Tomcat. I was earlier using JWS1.1.3
I have a doubt regarding servlet aliasing, I have a servlet which returns "/link" which will be replaced by LinkServlet, as this is mentioned in the servlet alias name in the admin module of JWS 1.1.3 as an entry in the JWS is made as /link under alias field and LinkServlet under ServletInvoked field.
How do I accomplish the same in TomCat.
Kindly reply
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12954
All sorts of variations in the way that servlet engines provided for administration, aliases, etc. existed when JSW 1.1 was current.
With the release of the Servlet 2.2 API, Sun nailed down many details about where web applications keep various resources and how they are referred to. Download the 2.2 API from and study the examples in Tomcat, especially in the web.xml files.
Make sure you have removed all traces of JSW 1.1 from your system, especially old jar files.
jQuery in Action, 2nd edition
subject: Servlet aliasing