> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui > Subject: Re: "File not found" with file include in a jsp file. > > Here is my configuraiton about this virtual host: > > <Host className="org.apache.catalina.core.StandardHost" > appBase="/home/test/wwwroot" autoDeploy="true" <snip> > <Context path="" docBase="" reloadable="true" debug="0"/> > </Host>
The docBase attribute should not be blank. Apps should be deployed UNDER appBase, not IN appBase. Strictly speaking, you should put your default app in /home/test/wwwroot/ROOT; you could then simply leave out the <Context> entry in server.xml (highly recommended). - 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]