RE: tomcat inserts leading / on include file

2006-12-01 Thread Caldarale, Charles R
> From: IT Desk [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat inserts leading / on include file > > I tried a few things and the only thing that worked was as below. What should also work is removing the context entry from inside the element, and placing a cut down version

Re: tomcat inserts leading / on include file

2006-12-01 Thread IT Desk
I tried a few things and the only thing that worked was as below. PLUS also changing the httpd.conf VirtualHost DocumentRoot to also point to /home/perap/htdocs/perap/ROOT. In my case, I had to keep the Context entry but a more "normal" webapp probably would not need it. Thanks for al

Re: tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
OK. I guess it was just a Tomcat bug that it ran under 5.5.7. I'll post the results of the test to let others know once I can schedule the server for the test. Mark Thomas wrote: IT Desk wrote: Here's the entry in the Tomcat server.xml file (Yes I know I should have a separate context xml

Re: tomcat inserts leading / on include file

2006-11-30 Thread Mark Thomas
IT Desk wrote: > Here's the entry in the Tomcat server.xml file > (Yes I know I should have a separate context xml file but this is the > way things already were when I started on this project): > > appBase="/home/perap/htdocs/perap" >unpackWARs="true" autoDeploy="true" >

RE: tomcat inserts leading / on include file

2006-11-30 Thread Caldarale, Charles R
> From: IT Desk [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat inserts leading / on include file > > appBase="/home/perap/htdocs/perap" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespa

Re: tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
Here's the entry in the Tomcat server.xml file (Yes I know I should have a separate context xml file but this is the way things already were when I started on this project): appBase="/home/perap/htdocs/perap" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlN

Re: tomcat inserts leading / on include file

2006-11-30 Thread Mark Thomas
IT Desk wrote: > It runs fine under 5.5.7. It was when I upgraded to 5.5.20 that I got > this error. > > The include would work fine if tomcat didn't do an insert of the leading > forward slash to the path. Can you provide your directory structure within your app? I am expecting to see somethi

Re: tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
It runs fine under 5.5.7. It was when I upgraded to 5.5.20 that I got this error. The include would work fine if tomcat didn't do an insert of the leading forward slash to the path. Parsons Technical Services wrote: What OS? Case sensitivity? Spelling? \ instead of a / ? Just thought

Re: tomcat inserts leading / on include file

2006-11-30 Thread Parsons Technical Services
What OS? Case sensitivity? Spelling? \ instead of a / ? Just thoughts. Doug - Original Message - From: "IT Desk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, November 30, 2006 8:25 PM Subject: tomcat inserts leading / on include file In my jsp, I have: <%@ includ

Re: tomcat inserts leading / on include file

2006-11-30 Thread Martin Gainty
Just ran a quick test with the same include with no ill effect I assume you have a folder labelled Connections in same folder as invoking jsp with contents of db.jsp? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designat