Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet aliasing

 
santosh mr
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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
Thanx
Santosh
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 java.sun.com 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.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic