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 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
----- 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:
> 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 but that didn't help either.
> 
> I also tried putting the / in front of Connections and that didn't work 
> either.
> 
> I also tried just putting the context in front of Connections.  But that 
> didn't work either.
> 
> Any ideas of what I have not tried or what is causing the problem?
> 
> Thanks in advance.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to