struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Schaer" <sch...@ess.ch>
Subject base tag problem with tomcat 3.2
Date Fri, 03 Nov 2000 09:24:22 GMT
Hello

I have a problem with the struts base tag and tomcat 3.2 beta 6.
The base tag works with tomcat 3.1

Here my test jsp page:

<%@ page language="java"%>
<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
<html><head><title>BaseTest</title></head><body>
<struts:base>
</body></html>


and here the error:
java.lang.ArrayIndexOutOfBoundsException: -1 < 0
	at java.util.Vector.elementAt(Vector.java:427)
	at org.apache.jasper.compiler.JspReader.getFile(JspReader.java:99)
	at org.apache.jasper.compiler.JspReader.popFile(JspReader.java:237)
	at org.apache.jasper.compiler.JspReader.hasMoreInput(JspReader.java:265)
	at org.apache.jasper.compiler.JspReader.nextChar(JspReader.java:274)
	at org.apache.jasper.compiler.JspReader.advance(JspReader.java:375)
	at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:834)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1070)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1035)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1031)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:453)
	at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:424)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:152)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:382)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
	at org.apache.tomcat.core.Handler.service(Handler.java:263)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:78
6)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)


Mime
View raw message