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
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: <%@ include file=&quo

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

Re: tomcat inserts leading / on include file

2006-11-30 Thread Martin Gainty
t; <[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: > <%@ include file="Connections/db.jsp" %> > > and get error: > org.apache.jasper.JasperException

tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
In my jsp, I have: <%@ include file="Connections/db.jsp" %> and get error: org.apache.jasper.JasperException: /index.jsp(2,0) File "/Connections/db.jsp" not found The error message is showing a leading / was inserted. Why is that? I'm using Tomcat version 5.5.20. I tried hardcoding the full