deploy your application as root.war http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html
Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 17 Sep 2008 16:45:28 -0700 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Deploying a Java Web Application on / folder > > > > Hello, > > I am trying to deploy a java Web application on Tomcat Server. This is part > of my server.xml file > > <Host name="anotherheadsets.com" appBase="/home/anotherheadsets/public_html" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > <Alias>www.anotherheadsets.com</Alias> > <Context path="" reloadable="true" > docBase="/home/anotherheadsets/public_html" /> > <Context path="/manager" > docBase="/usr/local/tomcat/users/anotherheadsets/tomcat/webapps/manager" > privileged="true" antiResourceLocking="false" > antiJARLocking="false" reloadable="true" /> > </Host> > > When I am deploying my application as ProjectOne.war on tomcat, the > application works fine when I use the url > > http://www.anotherheadsets.com/ProjectOne > > > But when I am using the url > > http://www.anotherheadsets.com > > the application doesn't seem to work properly... > > > How do I deploy my application on the home URL rather than a subdirectory... > What modifications do I need to make to config files. > > Thank you in advance. > > Kris > > > > > > > > -- > View this message in context: > http://www.nabble.com/Deploying-a-Java-Web-Application-on---folder-tp19543430p19543430.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ See how Windows Mobile brings your life together—at home, work, or on the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/