> From: Tim [mailto:[EMAIL PROTECTED] > Subject: How to config tomcat 5.5 to display project in sub > directory in url > > I tried to write context: > <Context docBase="....war" path="/aa/projectName" reloadable="true"/> > in "\conf\Catalina\localhost\projectName.xml" but doesn't help.
1) Take out the path attribute, it can't be used when the <Context> element is in this location. 2) Make sure the .war file for the webapp is located somewhere other than in the <Host> appBase directory, or you'll get the webapp deployed twice, and insure that docBase points there. 3) Change the name of projectName.xml to aa#projectName.xml (yes, that's a number sign in the middle of the file name). - 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]