struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Métras <gen...@sympatico.ca>
Subject Re: form tag generates error
Date Fri, 22 Sep 2000 15:36:24 GMT
Perhaps using </struts:form> instead of </struts:Form>?
And removing the <struts:textarea> or commenting it completely <!-- -->?

Pierre Métras

----- Original Message -----
From: "Andrew Semprebon" <semprebon@eqsystems.com>
To: <struts-user@jakarta.apache.org>
Sent: Friday, September 22, 2000 11:04 AM
Subject: form tag generates error


> I tried creating a simple form (jsp attached) using the struts.form tag,
but
> get the error below. If I Remove the form tag, the error goes away. I am
> using the 9/22 build of struts and Tomcat 3.2 beta on Linux. Any idea
what's
> wrong here?
>
> Internal Servlet Error:
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
>  at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:454)
>  at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
>  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:411)
>  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:296)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:369)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:368)
>  at org.apache.tomcat.core.Handler.service(Handler.java:261)
>  at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:356)
>  at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:72
> 0)
>  at org.apache.tomcat.core.ContextManager.service(ContextManager.java:666)
>  at
>
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
> (Ajp12ConnectionHandler.java:166)
>  at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:403)
>  at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>  at java.lang.Thread.run(Thread.java:484)
>
> Root cause:
> java.lang.ArrayIndexOutOfBoundsException: -1 < 0
>  at java.util.Vector.elementAt(Vector.java:451)
>  at org.apache.jasper.compiler.JspReader.getFile(JspReader.java:96)
>  at org.apache.jasper.compiler.JspReader.popFile(JspReader.java:235)
>  at org.apache.jasper.compiler.JspReader.hasMoreInput(JspReader.java:260)
>  at org.apache.jasper.compiler.JspReader.nextChar(JspReader.java:269)
>  at org.apache.jasper.compiler.JspReader.advance(JspReader.java:370)
>  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:440)
>  at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
>  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:411)
>  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:296)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:369)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:368)
>  at org.apache.tomcat.core.Handler.service(Handler.java:261)
>  at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:356)
>  at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:72
> 0)
>  at org.apache.tomcat.core.ContextManager.service(ContextManager.java:666)
>  at
>
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
> (Ajp12ConnectionHandler.java:166)
>  at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:403)
>  at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>  at java.lang.Thread.run(Thread.java:484)
>
> -------
> Andrew Semprebon
> EQ Systems Inc. - Internet Applications Development
> semprebon@eqsystems.com   http://www.eqsystems.com/
>


Mime
View raw message