Hi Brian,

When you use include tag don't include web context in the url.

Thanks & Regards
Bhushan Bhangale
Sr. Software Engineer
Fusion Infotech India Private Ltd.
Ph. no. - 1-212-641-6932 (O)


-----Original Message-----
From: Brian P Bohnet [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 12:18 PM
To: [EMAIL PROTECTED]
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


"The information in this e-mail, and any attachment therein, is
confidential and for use by the addressee only. If you are not the
intended recipient, please return the e-mail to the sender and delete
it from your computer. Although The Bank of New York attempts to
sweep e-mail and attachments for viruses, it does not guarantee that
either are virus-free and accepts no liability for any damage sustained
as a result of viruses."

===========================================================================
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