Although Jasper2 hasn't been officially released, you can grab 4.1.5
beta and drop in jasper-compiler.jar, jasper-runtime.jar and ant.jar. 

Give that a try. It should fix your problem. If you're project is 2-4
months from being deployed, you may want to consider using jasper2. It's
getting pretty close to release.


peter

Shawn Bayern wrote:
> 
> On Tue, 25 Jun 2002 [EMAIL PROTECTED] wrote:
> 
> > Hi all
> >
> > Has anyone had a problem with JSTL becoming too complex?
> > Here's the story: We are a news site that's migrating to JSTL for complex
> > news stories. Now, you can imagine that a story contains a number of
> > paragraphs which in return contain images, which themselves contain files,
> > which...
> > It all gets pretty complex, with objects containing ArrayLists of other
> > objects which contain ArrayLists of objects etc. etc.
> >
> > Anyway, I'm trying to build all this with a complex test story, but if my
> > JSP template gets too complex, this is what happens:
> > javax.servlet.ServletException: (class: org/apache/jsp/storytest$jsp,
> > method: _jspService signature:
> > (Ljavax/servlet/http/HttpServletRequest;Ljavax/se
> > rvlet/http/HttpServletResponse;)V) Illegal target of jump or branch
> 
> This is a general problem with JSP, not a specific problem with JSTL.
> When any JSP page gets too large, the corresponding method in its compiled
> servlet also becomes too large, and you get the error shown.  The best
> workaround is to break up your page into a few smaller pages, connected
> with <c:import> or <jsp:include>, if possible.  Note that when you use
> scoped variables (versus scripting variables), it's much easier to do
> this, so JSTL should help in that regard.
> 
> --
> Shawn Bayern
> "JSTL in Action"   http://www.jstlbook.com
> (coming in July 2002 from Manning Publications)
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to