Unfortunately, I have to install such application in ROOT context for this to 
work and I am trying to avoid it.

Sincerely yours,
  Vadym Chepkov


--- On Wed, 1/20/10, Travis Beech <travis.be...@gmail.com> wrote:

> From: Travis Beech <travis.be...@gmail.com>
> Subject: RE: multiple URI
> To: "'Tomcat Users List'" <users@tomcat.apache.org>
> Date: Wednesday, January 20, 2010, 2:48 AM
> Modify your servlet mapping in your
> web.xml so that you have more than one
> mapping to that servlet.
> 
> Take the following xml snippet as an example, each of the
> three servlet
> mappings will map to a single servlet. This would allow
> someone to use three
> different URL's to access the same servlet.
> 
> <servlet>
>  
> <servlet-name>RequestFactory</servlet-name>
>  
> <servlet-class>com.foo.web.servlet.RequestFactory</servlet-class>
> </servlet>
> <servlet-mapping>
>  
> <servlet-name>RequestFactory</servlet-name>
>  
> <url-pattern>/RequestFactory</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
>  
> <servlet-name>RequestFactory</servlet-name>
>   <url-pattern>/Request</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
>  
> <servlet-name>RequestFactory</servlet-name>
>   <url-pattern>/SomeOtherUrl
> </url-pattern>
> </servlet-mapping>
> 
> -----Original Message-----
> From: Vadym Chepkov [mailto:chep...@yahoo.com]
> 
> Sent: Tuesday, January 19, 2010 12:17 PM
> To: users@tomcat.apache.org
> Subject: multiple URI
> 
> Greetings,
> 
> I want a servlet to serve two different urls: http://server/A
> and
> http://server/B, but I don't want to install this
> servlet as a ROOT servlet.
> Is this possible in tomcat 6?
> 
> Thank you.
> Sincerely yours,
>   Vadym Chepkov
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to