Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: tomcat inserts leading / on include file

Doug Parsons

2006-11-30

Replies:

What OS?

Case sensitivity?
Spelling?

\ instead of a / ?

Just thoughts.

Doug

----- Original Message -----
From: "IT Desk" <ask@(protected)>
To: "Tomcat Users List" <users@(protected)>
Sent: Thursday, November 30, 2006 8:25 PM
Subject: tomcat inserts leading / on include file


> In my jsp, I have:
> <%@(protected)" %>
>
> 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@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.