Java Mailing List Archive

http://www.junlu.com/

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

tomcat inserts leading / on include file

IT Desk

2006-11-30

Replies:

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)

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