Did you use the include directive or include action?
<%@ include file="relativeURL" %>
vs.
<jsp:include page="{relativeURL | <%= expression %>}"
   flush="true| false" />

It doesnt work for the action.
-Tim

-----Original Message-----
From: Papo Napolitano [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: Re: <jsp:include> question


I think that this doesn't works with Tomcat 4.0 because it returns this
error:

[EmbeddedCatalinaServiceSX] StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 2 in the jsp file: /dev/useradd.jsp

Generated servlet error:
/usr/JBoss-2.4.2_Tomcat-4.0/catalina/work/localhost/bcu/dev/useradd$jsp.java
:68: Undefined variable: retval
          out.println(retval);
                          ^
1 error

Cheers,

Papo

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