You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Charles N. Harvey III" <ch...@alloy.com> on 2002/06/17 18:32:24 UTC

jsp include error

I am having a problem with the <jsp:include> parameter.  It should be pretty
easy
to do but I keep getting the strangest error.  It says that "include()" is
not in
the Jasper Runtime Library.  Which I think is very odd.

Is there a .jar file I am missing?  Am I calling it improperly?

Here is my index.jsp:
----------------------------------------------------------------------------
-----
<%@ page language="java" contentType="text/html" %>
<%@ taglib uri="common-tags" prefix="do" %>
<jsp:include page="includes/master.jsp" flush="true">
	<jsp:param name="title" value="Private Colleges &amp; Universities" />
	<jsp:param name="content" value="content.jsp" />
</jsp:include>
----------------------------------------------------------------------------
-----


And here is the error I get:
----------------------------------------------------------------------------
-----
Generated servlet error:
/home/charvey/tomcat/work/10.4.5.45/_/jsp/pcu/index$jsp.java:66:
Method include(javax.servlet.http.HttpServletRequest,
		   javax.servlet.http.HttpServletResponse,
		   java.lang.String,
		   javax.servlet.jsp.JspWriter,
		   boolean) not found in class
org.apache.jasper.runtime.JspRuntimeLibrary.

	JspRuntimeLibrary.include(request, response, "includes/master.jsp" +
_jspx_qStr, out, false);
----------------------------------------------------------------------------
-----


Any help would be much appreciated.  Thanks a lot.

Charlie


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: jsp include error

Posted by "Charles N. Harvey III" <ch...@alloy.com>.
Why would Tomcat say this?


Generated servlet error:
/home/charvey/tomcat/work/10.4.5.45/_/jsp/pcu/shoes/show$jsp.java:60:
   Method include(javax.servlet.http.HttpServletRequest,
			javax.servlet.http.HttpServletResponse,
			java.lang.String,
			javax.servlet.jsp.JspWriter,
			boolean) not found in class org.apache.jasper.runtime.JspRuntimeLibrary.
   JspRuntimeLibrary.include(request, response, "hello.jsp" + _jspx_qStr,
out, false);




I am VERY sure that include() is present in
org.apache.jasper.runtime.JspRuntimeLibrary.
See:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jasper/docs/api/org/apache/j
asper/runtime/JspRuntimeLibrary.html
Its there.  What could I be doing wrong that sends me that error?
Does anyone have any ideas on this?

Thanks again.

Charlie


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>