It isn't a struts problem, it is a problem caused by using excessive custom
jsp tags.  One fix is to break your page up over several pages and use
dynamic includes.  This will fix he compilation problems, but introduces a
few new challenges.  The problem you are dealing with is the 64k limit in
java methods.
The entire jsp is compiled into a single _jspService method.

James Birchfield

Ironmax
maximizing your construction equipment assets
5 Corporate Center
9960 Corporate Campus Drive,
Suite 2000
Louisville, KY 40223


                                                                                       
                                           
                    "Kurt Olsen"                                                       
                                           
                    <kolsen@get2h        To:     <[EMAIL PROTECTED]>      
                                           
                    awaii.com>           cc:                                           
                                           
                                         Subject:     500 lines of jsp is 10k lines of 
java                                       
                    03/19/01                                                           
                                           
                    01:03 PM                                                           
                                           
                    Please                                                             
                                           
                    respond to                                                         
                                           
                    struts-user                                                        
                                           
                                                                                       
                                           
                                                                                       
                                           




Hi everybody,

I'm fighting a problem whereby the java code generated by a 500 line jsp
file is so large (10,200) lines that a try/catch block contains so much
code
that the file won't compile, giving a msg saying something like 'jump
target
out of range'...

Surely I'm not the first to deal with this (and it's a real show-stopper).
Anybody know a way to deal with this (other that hand editing the
source-code)?

This isn't a struts problem per-se but it's being interpreted that way by
the powers that be where I work. Not good!

Later,
Kurt


-----Original Message-----
From: Kyle Robinson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 7:36 AM
To: Struts (E-mail)
Subject: Locales and images


I understand Struts has support for makeing web apps available in different
languages.  Does this include images?  If I have images with text on them
in
English can I make images with text in French as well?  Do I name the image
files differently or do I have to include the paths to the images in the
property files?  Has anyone done this?  What's the best approach?

Kyle Robinson
Systems Consultant
Pangaea Systems Inc.
(250) 360-0111





Reply via email to