Thank you!
so if I have to set the absolute path how can I do it?
Do I have to modify the server.xml of tomcat or use the absolute path in JSP
include tag?
Because I tried to set the absolute path in the JSP tag and got the error:
org.apache.jasper.compiler.CompileException:
/home_user_test_absolute_path.jsp(23,5) File "C:/Program Files/Apache Tomcat
4.0/webapps/docuinfo/heading_menue.jsp" not found
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:782)
I guess I have to modify something, do I?
Thanks anyway.
Regards,
Steffi
-Original Message-
From: Bhushan_Bhangale [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 22. Mai 2002 10:03
To: [EMAIL PROTECTED]
Subject: Re: problems with include directive
Dear Stefanie,
Include file takes absolute path and not virtual path. The path you are
giving is virtual which is used by webserver to show the content. But in
case of include directives in jsp it is the job of jsp engine to resolve
them and it uses absolute paths only.
-Original Message-----
From: Richter, Stefanie (Student Assistant)
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: problems with include directive
hello,
can anybody help me.
I want to use the include directive with JSP in Tomcat 4.0.3. Therefore I
want to use the relative path.
For example if I use the relative path for: it works, but if I want to include:
<%@ include file="/examples/jsp/include/foo.jsp" %>
I get the error file not found.
Does anybody hnow why and how I could solve this problem?
I am using Apache 1.3 and Tomcat 4.0.3.
Do I have to make an entry in Tomcats server.xml or web.xml so that the
relative paths are found?
Regards,
Steffi Richter
===
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