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. 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/ROOT

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 Host element, and placing a cut down version in META-INF

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 path

Re: tomcat inserts leading / on include file

2006-11-30 Thread Martin Gainty
] To: Tomcat Users List users@tomcat.apache.org 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: /index.jsp(2,0) File /Connections/db.jsp

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 users@tomcat.apache.org Sent: Thursday, November 30, 2006 8:25 PM Subject: tomcat inserts leading / on include file In my jsp

Re: tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
thoughts. Doug - Original Message - From: IT Desk [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org 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

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 something

Re: tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
Here's the host 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): Host name=www.myhostname.com debug=5 appBase=/home/perap/htdocs/perap unpackWARs=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 Host name=www.myhostname.com debug=5 appBase=/home/perap/htdocs/perap unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path

Re: tomcat inserts leading / on include file

2006-11-30 Thread Mark Thomas
IT Desk wrote: Here's the host 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): Host name=www.myhostname.com debug=5 appBase=/home/perap/htdocs/perap

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 host entry in the Tomcat server.xml file (Yes I know I should have a separate