Looks like the include file parameter works differently. Maybe you should
make it a URL

I have a <img> tag as follows <img src="images/spacer.gif" width="1"
height="40"> and this works with the supplied contect path. That path will
be translated to a URL.

Try using @include file="http:content/Common/Footer.inc" and see what
happens.

Donie


-----Original Message-----
From: Panos Konstantinidis [mailto:girionis@;yahoo.com]
Sent: 06 November 2002 15:11
To: Tomcat Users List
Subject: RE: mapping URLs

  Sorry

--- Panos Konstantinidis <[EMAIL PROTECTED]> wrote:
>   Thank you Donnie for your time, but unfortunatelly
> it did not help. I have added the line:
>
> <Context path="/content"
> docBase="C:\Tomcat4.1\webapps\content"/>
>
>   in my server.xml file, restarted Tomcat but when
> my
> JSP page has the following line:
>
>   <SPAN CLASS="Footer"><%@ include file =
> "/content/Common/JavaFooter.inc"%></SPAN>
>
>   I am getting the error message:

  the following

> org.apache.jasper.JasperException:
> /index.jsp(593,22)
> File "/wtgContent/English/Common/JavaFooter.inc" not
> found.


  should be:

 org.apache.jasper.JasperException:
 /index.jsp(593,22)
 File "/content/Common/JavaFooter.inc" not
 found.

   The previous one was actually taken from another
browser window (the same problem there as well, but
still it is better to make things clearer).

  Thank you.

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to