You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/06/18 07:26:23 UTC
DO NOT REPLY [Bug 9941] New: -
Jasper in Tomcat 4.1.2 throws JasperExcepetion when comiling JSP's
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9941
Jasper in Tomcat 4.1.2 throws JasperExcepetion when comiling JSP's
Summary: Jasper in Tomcat 4.1.2 throws JasperExcepetion when
comiling JSP's
Product: Tomcat 4
Version: 4.1.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Major
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: stephen.cooke@dpiwe.tas.gov.au
Using Tomcat 4.1.2.
org.apache.jasper.JasperException thrown when trying to run a JSP. Attached is
the stack trace, the line in the JSP *I* believe caused the exception and the
line in the Jasper created code mentioned in the stack trace. First, here is the
truncated stack trace (I can supply the full trace if required):
org.apache.jasper.JasperException
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:232)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:820)
at
org.apache.jsp.mark_0005fsearch_0005fresults$jsp._jspService(mark_0005fsearch_0005fresults$jsp.java:65)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
OK, now the JSP code:
<% Mark[] m=(Mark[])request.getAttribute("marks"); %>
<% if(m!=null) { %> <h2 class="subheading">Search Results</h2> <% } %>
<% if(m != null && m.length > 0) {
CodeDescription datum=new CodeDescription("hor_datum");
datum.setId(new Long(5)); %>
<form name="marks" method="POST" action="mark_cont.jsp">
<jsp:include page="/jsp/utils/MultiDataList.jsp" flush="true">
<jsp:param name="listObjectName" value="marks" />
</jsp:include>
I *believe it is the third last line that Jasper is falling over on.
Here's the code from the Jasper produced servlet:
mark_0005fsearch_0005fresults$jsp.java, line 63:
JspRuntimeLibrary.include(request, response, "/jsp/utils/MultiDataList.jsp" +
"?listObjectName=" + "marks", out, true);
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>