HOWTO: Run your java web app as the root context on Tomcat
If you have a context XML fragment in your war (META-INF/context.xml) then it’s as easy as renaming your war file to ROOT.war
If you’re using the maven build system then just alter your pom to have:
<build>
<finalName>ROOT</finalName>
...
</build>
Simple when you know how…
Tags: maven, Tomcat
This entry was posted
on Friday, March 13th, 2009 at 12:21 and is filed under HOWTO, Java.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.