> From: IT Desk [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat inserts leading / on include file > > <Host name="www.myhostname.com" debug="5" > appBase="/home/perap/htdocs/perap" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > <Context path="/" docBase="/home/perap/htdocs/perap" > debug="5" > privileged="true"/> > </Host> > > So the directory structure is: > /home/perap/htdocs/perap > /home/perap/htdocs/perap/Connection/db.jsp
This is just what Mark T was warning about. Try changing the appBase to "/home/perap/htdocs"; the appBase and docBase should never point to the same directory. And, the path parameter must be "", not "/". Best is to rename your app to ROOT, and move the <Context> out of the server.xml file. - 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]