[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Expose a single war with 2 different locations

tomerbd2 do-not-reply at jboss.com
Wed Sep 19 15:56:27 EDT 2007


Hi

I'm working with jboss/tomcat I have a war that i deploy lets say mywebapp.war (its a JSF application).

I want to expose it with 2 different urls

http://$MYSERVER/mywebapp_client1
and
http://$MYSERVER/mywebapp_client2

Is there anyway to do it? maybe with web.xml or something like that?
(I know i can expose servlets with 2 different locations so i want to know if its possible also with a web application).

Note that I have already asked this at: http://forum.java.sun.com/thread.jspa?threadID=5217977&tstart=0
However they told me there to create 2 wars... which is not what im looking for because i dont want to create 2 wars just because i want 2 locations (currently i'm using this solution as a workaround).  I'm looking to know if there is just a way to expose my jsf application in 2 different locations...

10x

Tomer

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086308#4086308

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086308



More information about the jboss-user mailing list