Marco,
This means that you created an xsp that fit entirly in one java method (after xslt transformation - see xsp.xsl file) that exceeds 64 kb of memory. To solve the problem, you should create different methods (within <xsp:logic> or <xsl:content> tags before your first application specific tag) splitting you xsp (I don't mean into different xsp files! :) into different pieces. Example: transform this: <xsp:page> <mytag> ... <xsp:logic> ...long logic statements ... </xsp:logic> </mytag> </xsp:page> into this: <xsp:page> <xsp:logic> void myMethod1(){shorter logic statements} void myMethod2(){shorter logic statements} </xsp:logic> <mytag> ... <xsp:logic> myMethod1(); </xsp:logic> ... <xsp:logic> myMethod2(); </xsp:logic> </mytag> </xsp:page> Ev. you can make some try and see the generated java file in the work directory of tomcat (for example). Good luck pino PS: I think better to ask this questions on cocoon-user mailing-list, but it's ok ;-) On Mon, 18 Feb 2002, marco wrote: > The error message "Branch too large" was being displayed while I am > accessing an XSP web page. Please advise the way to resolve this. Thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]