[EMAIL PROTECTED] wrote:
> I'm experiencing a new problem with recent versions of the JSP editor from
> CVS. Some JSP's cannot be displayed, resulting in an error with this
> message: "Illegal target of jump or branch".A notable example is the JSP used to add 
>relations to nodes.
> 
> What happens is this: When JSP's are converted to servlets, most of the
> generated code ends up in a single method. However, Java puts an upper
> limit of 68k on the size of the compiled bytecode for a single method.As a result a 
>reasonably complex JSP may result in a method that is too
> long, and efforts to execute such a page will produce the error above.
> Clearly, the outcome depends on the JSP-engine used (I used Tomcat 4.04),
> but only in part, depending on the complexity of the JSP.Perhaps some JSP-engines 
>have strategies to avoid this situation, but I
> have not found out so far.
> As for now, it looks like Tomcat users can not add relations using the
> standard JSP editors. Someone willing to look into this?


The problem is indeed seems to that Tomcat 4.0 produces ridiculously large code when
using taglib extensively. Perhaps it is also so slow because of this?

I've put some effort yet to make the jsp-editors (and therefore the taglib)
work in tomcat 4.1 and this is nearly finished (I think only one or two
minor problems are remaining).

I think tomcat 4.1 is now called 'stable', so perhaps we can as well advice
to use tomcat 4.1 (as soon as mmbase 1.6 is released)? Tomcat 4.1 also
produces much faster code.

 Michiel


-- 
Michiel Meeuwissen 
Mediapark, C 107 tel. +31 (0)35 6772979



Reply via email to