There was a copy/paste error in my last posting. I used path="" which can let me use appfuse as default context but caused problem reloading appfuse twice.
Here is good answer, http://www.nabble.com/How-to-set-app-as-default-context-in-Tomcat--tf2776569.html Matt Raible-3 wrote: > > If you set the path to "/" or "", it should show up as the default > context. > > Matt > > On 12/7/06, kkus <[EMAIL PROTECTED]> wrote: >> >> >> I am using Tomcat 5.5.20 and 1.94 Spring MVC of appfuse in XP. I need set >> appfuse as default context so I will only use url localhost:8080 instead >> of >> localhost:8080/appfuse. The way I found from tomcat community is to set a >> <context> in <Host> of server.xml. But this led to appfuse loaded twice >> when >> it started. Meanwhile 5.5.20 has discouraged use of <context> in <Host>, >> which is correct for appfuse since it has its own context.xml under >> meta-inf >> folder. >> >> The only line I added in server.xml is as below(<Context> only), >> >> <Host name="localhost" appBase="webapps" unpackWARs="true" >> autoDeploy="true" >> xmlValidation="false" xmlNamespaceAware="false"> >> >> <Context path="appfuse" docBase="appfuse" debug="0" >> reloadable="true"/> >> >> Has anyone deployed appfuse as default context in tomcat 5.5.20? Thanks! >> -- >> View this message in context: >> http://www.nabble.com/How-to-set-AppFsue-as-default-context-in-Tomcat--tf2776542s2369.html#a7745892 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > -- View this message in context: http://www.nabble.com/How-to-set-AppFsue-as-default-context-in-Tomcat--tf2776542s2369.html#a7748883 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
