This content has been marked as final.
Show 2 replies
-
1. Re: How to deploy a war file with different contextpath from
peterj Aug 29, 2006 5:56 PM (in response to hboss1)Add a ./WEB-INF/jboss-web.xml file, containing the following text, to the war file:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root>/second</context-root>
</jboss-web> -
2. Re: How to deploy a war file with different contextpath from
hboss1 Aug 29, 2006 6:04 PM (in response to hboss1)Thanks Peter. Is there a way like context.xml / server.xml file that could be modified instead, because I would prefer not to modify the war file supplied by 3rd party.