The Art of Writing Software
From the more-than-one-way-to-skin-a-cat section, if you want your tomcat app to be the root context, but don't feel like naming it ROOT, you can set this in the app's context xml file:[Context path="" docBase="/tmp/myFavorite.war" debug="0" crossContext="false"][/Context](change the [] to < >)Just name the file myFavorite.xml and put it in the $CATALINA_HOME/conf/Catalina/localhost directory.Just came across this tidbit.I like the war named ROOT.war however :)
From the more-than-one-way-to-skin-a-cat section, if you want your tomcat app to be the root context, but don't feel like naming it ROOT, you can set this in the app's context xml file:
ReplyDelete[Context path="" docBase="/tmp/myFavorite.war" debug="0" crossContext="false"]
[/Context]
(change the [] to < >)
Just name the file myFavorite.xml and put it in the $CATALINA_HOME/conf/Catalina/localhost directory.
Just came across this tidbit.
I like the war named ROOT.war however :)