> From: nkarytia [mailto:[EMAIL PROTECTED] > Subject: How can I add a subsiste inside my website. > > I have added the new_products.xml under the > "c:\tomcat\conf\CATALINA\localhost\" along > with the ROOt.xml file
Make sure that's ROOT.xml, not ROOt.xml; it must contain a <Context> element with a docBase attribute that points to the location of the desired default webapp. However, you don't have to do all that (see below). > I have also created the new_products folder under > the webapps, but whenever I call > "http://www.myhost.com/new_products" the > "http://www.myhosts.com" that its contents are > under the webapps/ROOT folder comes up. You can't have two default (ROOT) webapps - delete the one you don't want. The simplest thing to do is simply delete the ROOT directory under webapps, and use ROOT as the name of your desired default webapp. You won't need the ROOT.xml file, and you won't get the double deployment that you're current running into. If you insist on keeping the webapp in a directory named "new_products", it must be outside of Tomcat's directory structure, not under the <Host> appBase directory, and the conf/Catalina/[host]/ROOT.xml file must be set up as described above. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]