Posts Tagged ‘Tomcat’

HOWTO: Run your java web app as the root context on Tomcat

Friday, March 13th, 2009

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…