You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marc Ellison <ME...@pangaeainc.com> on 2001/03/20 21:06:50 UTC

HELP - "Illegal target of jump or branch"

Hi,

I have been getting a very interesting error folks ;-)

I have constructed a jsp file that uses ALOT of struts-defined tags, and
which I have running with Tomcat.  Initially the page would not work so I
commented out a lot of the code.  The page now works to an extent, but as
soon as I try to uncomment any of the other struts tags it throws this error
message.....

javax.servlet.ServletException: (class:
_0002fdemographicDetails_0002ejspdemographicDetails_jsp_73, method:
_jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse;)V)

I have looked in the mail archive and one guy suggested changing the values
of the stack/memory allocation pools to a higher value as it couldn't cope
with the number of tags.  However, I still get the same error. Has anybody
encountered a similar problem....if so please HELP!!
Kind regards
Marc


Re: HELP - "Illegal target of jump or branch"

Posted by Martin Cooper <ma...@tumbleweed.com>.
As I mentioned in an earlier post on this topic, using <%@include%> does 
not help, since it's a compile time include (similar to #include in C++). 
Using <jsp:include> can help, though.

--
Martin Cooper


At 01:44 PM 3/20/01, Maya Muchnik wrote:
>Several guys suggested to replace a lot of tags in one JSP to several 
>JSPs, and
>make the first one with <@ include file=.../>
>
>Marc Ellison wrote:
>
> > Hi,
> >
> > I have been getting a very interesting error folks ;-)
> >
> > I have constructed a jsp file that uses ALOT of struts-defined tags, and
> > which I have running with Tomcat.  Initially the page would not work so I
> > commented out a lot of the code.  The page now works to an extent, but as
> > soon as I try to uncomment any of the other struts tags it throws this 
> error
> > message.....
> >
> > javax.servlet.ServletException: (class:
> > _0002fdemographicDetails_0002ejspdemographicDetails_jsp_73, method:
> > _jspService signature:
> > 
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
> > nse;)V)
> >
> > I have looked in the mail archive and one guy suggested changing the values
> > of the stack/memory allocation pools to a higher value as it couldn't cope
> > with the number of tags.  However, I still get the same error. Has anybody
> > encountered a similar problem....if so please HELP!!
> > Kind regards
> > Marc



Re: HELP - "Illegal target of jump or branch"

Posted by Maya Muchnik <mm...@pumatech.com>.
Several guys suggested to replace a lot of tags in one JSP to several JSPs, and
make the first one with <@ include file=.../>

Marc Ellison wrote:

> Hi,
>
> I have been getting a very interesting error folks ;-)
>
> I have constructed a jsp file that uses ALOT of struts-defined tags, and
> which I have running with Tomcat.  Initially the page would not work so I
> commented out a lot of the code.  The page now works to an extent, but as
> soon as I try to uncomment any of the other struts tags it throws this error
> message.....
>
> javax.servlet.ServletException: (class:
> _0002fdemographicDetails_0002ejspdemographicDetails_jsp_73, method:
> _jspService signature:
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
> nse;)V)
>
> I have looked in the mail archive and one guy suggested changing the values
> of the stack/memory allocation pools to a higher value as it couldn't cope
> with the number of tags.  However, I still get the same error. Has anybody
> encountered a similar problem....if so please HELP!!
> Kind regards
> Marc