File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet aliasing" Watch "Servlet aliasing" New topic
Author

Servlet aliasing

santosh mr
Greenhorn

Joined: Jun 19, 2001
Posts: 1
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

Joined: Mar 22, 2000
Posts: 12675
    
    5
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

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet aliasing
 
Similar Threads
can JWS be useful in this scenario
Issue in deploying the web service
Tomcat Error
Calling a servlet from a html page
Tomcat without web applications