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? Rob van Maris Developer Finalist IT Group Java Specialists ------------------------------------------------------------- Amsterdam, The Netherlands Office: +31 20 5962321 (Direct) Mobile: +31 651444006 Fax: +31 20 5962331 -------------------------------------------------------------
