This might help... it was taken from
http://www.esperanto.org.nz/jsp/jspfaq.html

It just looks like your code should be <%@ include="testinclude.jsp" %>

Just take out the word 'file'

here is what I found at the FAQ:

-----------------

JRUN, ServletExec and GNUJSP allow you to specify (it was in the 0.91 spec):

     <%@ include="./header.jsp" %> - where header.jsp is the file you want
to include.

     The spec does say that it supports NCSA style includes as in

     <!--#include virtual="/pathfromdocdir/" file="copyright.html" -->
     <!--#include file="data/table.html" -->

     But there is no requirement that they support JSP.


Hope it helped



Chris Taylor
Web Developer

-------------------------------------------


-----Original Message-----
From: Mike Chambers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 3:33 PM
To: [EMAIL PROTECTED]
Subject: Problem with include directive on webspehere


I am running WebSphere standard server 2.0.3.1 on NT4 (and Windows 2000).

I am trying to use the include directive but no matter what i do i get a 404
page not found.

Here is the code that i am using:

<%@ include file="testinclude.jsp" %>

the testinclude.jsp page is in the same directory as the file the include is
being called from.

This will work on the linux version of websphere.

Anyone have any ideas what might be going on or what i am doing wrong?

Thanks in advance (i hope)...

Mike C

[EMAIL PROTECTED]

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to