You just add the following lines in your myapp/WEB-INF/web.xml file
(after the <servlet> section) :

  <servlet-mapping>
    <servlet-name>myapp</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>

see
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/catalina/funcspecs/fs-default.html

or the Java Servlet specification for more informations

Patrice

Java Mails wrote:

>  hi all!
> conventionally, I invoke turbine application using the following URL
> http://localhost:8080/myapp/servlet/myapp
> This can sometimes be long and somehow not very friendly.
> How can I make do it in such a way that I can invoke it using only
> http://localhost:8080/myapp
>
> tia
>
>
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to