On Wed, 1 Aug 2001, Dominic Nagar wrote:

> 
> Is there a way in Tomcat to alias a servlet?  For example, if I have a
> servlet called 'blah', how can I configure tomcat such
> that I don't have to say
> 
> servlet/blah  in my URL.  All I want to access is 'blah'.
> 

See the <servlet-mapping> element in the web.xml file, as described in the
Servlet Specification.  You can download it from:

  http://java.sun.com/products/servlet/download.html

NOTE:  If you are running Tomcat+Apache, you will also need to customize
your Apache configuration file to recognize these mappings.

> Dominic Nagar

Craig McClanahan

Reply via email to