I need a way to have 2 URLs that will direct my client to the same WAR.
For example:
http://localhost:8080/URL1/myServlet
http://localhost:8080/URL2/myServlet
in jboss-web.xml file I can set the context root:
<jboss-web>
<context-root>URL1</context-root>
</jboss-web>
But I can't put 2 context roots:
<jboss-web>
<context-root>URL1</context-root>
<context-root>URL2</context-root>
</jboss-web>
Is there any way to do it?
TIA
Evyatar
I use JBoss 4.0.4 and Tomcat 5.5 in it.