Thanks for the help, I think we got it now!

Ritesh Gupta wrote:

> Hi Brian,
>
> Try using "/new/images".
>
> Normally for images the path is interpreted by the browser which resolves
> paths wrt to the public-doc-root. However, in your jsp:include the path is
> being interpreted by the servlet-engine which resolves paths wrt to the
> context-root.
>
> Hope that helps.
>
> Regards,
> Ritesh
> ----- Original Message -----
> From: Brian P Bohnet <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 30, 2002 9:47 PM
> Subject: jsp:include
>
> I'm trying to include a text file in a jsp with Tomcat 3.x.
>
> I placed the .txt file on apache in "<web context>/new/html/" directory.
> For some reason the file is not loaded, but if I place the same .txt
> file in the same directory as the jsp on Tomcat, it all loads correctly.
>
> I know my pathing is correct because in the same jsp i am including
> images that are found and included from "<web context/new/images"
> directory which obviously is at the same level as the html directory.
>
> Anyone know of any bugs possibly???
>
> Thanks,
> Brian
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to