This question should really be asked on tomcat-users. You cannot use the context path in an include. If you want to deploy this with the full paths, deploy it as the default webapp, ie with "/" as the context path (into webapps/ROOT).
-----Original Message----- From: Alfian Hadi [mailto:[EMAIL PROTECTED]] Sent: 10 July 2002 05:17 To: [EMAIL PROTECTED] Subject: Include directive in Tomcat4 Hi all, I am facing problem using include directive in tomcat 4.0.4. Here is the situation: I create a new folder named: test under webapps (webapps/test). The folder test contains two files: - index.jsp - hello.html In index.jsp, this is what I have for the directive: <%@ include file = "/test/hello.html" %> Then I received this error: org.apache.jasper.compiler.CompileException: /index.jsp(3,38) File "/test/hello.html" not found It seems that I cannot use the absolute path for include directive with tomcat. This is just a simple sample. Actually I have a working JSP application that I need to deploy on tomcat 4 and it cannot work because the application use a lot of absolute path for the include directive. Any ideas ? Thanks. - Alfian - -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>