> 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
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
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
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"
>
> 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
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
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
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
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
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
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
11 matches
Mail list logo