Martin,
I found your other message. "Oh CRAP" is all I have to say. :P
Thank you for your help,
Chris
-----Original Message-----
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 4:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Bizarre Error - Help Requested
Ah yes, this is one of my favourites. Not! This is what I call the "too many
tags" problem, and I have spent many hours fighting it.
Basically, what you are running up against is a limit on the size of a
compiled method in a Java class file. I posted a message outlining a couple
of solutions to this a couple of months ago. Search the archives for
messages with "Illegal target of jump or branch" in the subject.
One important thing that has changed since I posted my message is that
Struts uses a different mechanism to relate form-related tags back to the
form. This means that there are no longer problems with using <jsp:include>
to include partial forms from another page.
Hope this helps.
--
Martin Cooper
----- Original Message -----
From: "Assenza, Chris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 22, 2001 2:50 PM
Subject: Bizarre Error - Help Requested
> Hey all,
>
> I've got a page that uses templates (about 6 includes total). In sum
there
> are approx. 70 <bean:message key....> appearing on the page. What's
really
> bizarre about this page is that if you go over 70, the following error
> occurs. Server is JBoss 2.0, Tomcat 3.27b. We tested putting almost 140
> messages on one page and had great success. This has never occured before
> and can be re-created on multiple machines. All spellings in
> ApplicationResources are correct - all spellings on the JSP are correct.
> I'm beyond confused, my quick fix is to remove fields but that won't help
us
> in the long run. I'm sorry if this info is sketchy, if more detail is
> needed, just let me know. :) Oh, and I've never seen this JSP error
before,
> ever. :P
>
> Thanks in advance,
>
> Chris
>
> --Error
>
> javax.servlet.ServletException: (class:
> _0002fdebMaintContent_0002ejspdebMaintContent_jsp_35, method: _jspService
> signature: (Ljavax/servlet/http/Http
> ServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target
of
> jump or branch
> at
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
> l.java:453)
> at
>
_0002fdebMaint_0002ejspdebMaint_jsp_7._jspService(_0002fdebMaint_0002ejspdeb
> Maint_jsp_7.java:334)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:177)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
> .java:194)
> at
>
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
> va:1697)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1540)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 9)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
> 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)
> Root cause:
> javax.servlet.jsp.JspException: (class:
> _0002fdebMaintContent_0002ejspdebMaintContent_jsp_35, method: _jspService
> signature: (Ljavax/servlet/http/Http
> ServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target
of
> jump or branch
> at
> org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:132)
> at
>
_0002fdebMaint_0002ejspdebMaint_jsp_7._jspService(_0002fdebMaint_0002ejspdeb
> Maint_jsp_7.java:321)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:177)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
> .java:194)
> at
>
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
> va:1697)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1540)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 9)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
> 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)