[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Re: Java Compiler Exception Error
>Do you mean %><%? The .jsp code begins with <%, so putting in <% %> after tha
t
>results in a myriad of errors.
I mean "<% %>" inside your template code (HTML code).
<% some jsp code &>
<big table 1>
<insert-<% %>-here>
<bigtable 2>
<% some jsp code>
(In the table after some rows or between tables)
>
>Or, if you do mean <% %>, how do I get that in after the initial <%?
>
>Thanks. Sorry for all the problems, but I can assure you I've worked on this
for
>hours on end.
>
>Carsten Heyl wrote:
>
>> It's not the size of the program code that cills the compiler.
>> Thats small in your case.
>> It's the size of single static strings.
>> Put "<% %>" in between to break up the strings until
>> we fix the parser.
>>
>> >I'm using NetObjectsFusion to create the pages, and it jams it full of tabl
es,
>> making
>> >even the simplest page incredibly large. In this case, its a large .html p
age
>> as well
>> >as a large .jsp program. Let's say I can cut out and re-paste in code usin
g i
>> nclude
>> >tags, isn't the final size of the program still going to be the same, thus
iss
>> uing the
>> >same compiler errror?
>> >
>> >"Eric B. Ridge" wrote:
>> >
>> >> Jesus Christ! That's huge! Might want to investigate some kind of OO
>> >> design . . .
>> >>
>> >> eric
>> >>
>> >> On Mon, 11 Oct 1999, Ron Parker wrote:
>> >>
>> >> > The .jsp file is 136,566. The .java source file created is 141,491. I
s t
>> his too
>> >> > large?
>> >> >
>> >> > Carsten Heyl wrote:
>> >> >
>> >> > > >Hello,
>> >> > > >
>> >> > > >I've created a rather large .jsp file which is giving me the followi
ng
>> >> > > >error when I try to run it:
>> >> > > >
>> >> > > >Error compiling source file:
>> >> > > >file:/home/sbac/public_html/DataBase/DbMaint/dbmaint.jsp
>> >> > >
>> >> > > How large? AFAIK the maximum class size may be 64k and the
>> >> > > maximum (static) String size 32k charcaters.
>> >> > > JSWDK 1.0 uses external files to store strings so it
>> >> > > won't be hit by this margin so soon.
>> >> > >
>> >> > > >
>> >> > > >builtin-javac -classpath
>> >> > > >/jdk117_v1a/lib/classes.zip:/usr/src/ApacheJServ-1.0/src/java/Apache
JSe
>> rv.jar:
>> >> > > /usr/src/JSDK2.0/lib/jsdk.jar:/usr/openlink/jdk11/opljdbc.jar:/usr/sr
c/j
>> avamail
>> >> > > -1.1.2/mail.jar:/usr/src/jaf-1.0.1/activation.jar:/jdk117_v1a/bin/../
cla
>> sses:/j
>> >> > > dk117_v1a/bin/../lib/classes.jar:/jdk117_v1a/bin/../lib/rt.jar:/jdk11
7_v
>> 1a/bin/
>> >> > > ../lib/i18n.jar:/jdk117_v1a/bin/../lib/classes.zip:/home/servlets/cla
sse
>> s:/usr/
>> >> > > src/gnujsp-0.9.10/lib/gnujsp10.jar:/usr/src/jswdk-1.0/lib/servlet.jar
>> >> > > >-d /var/tmp -deprecation
>> >> > > >/var/tmp/jsp__file_3a__home__sbac__public_html__DataBase__DbMaint__d
bma
>> int_2ej
>> >> > > sp.java
>> >> > > >
>> >> > > >error: An exception has occurred in the compiler; please file a bug
>> >> > > >report (http://java.sun.com/cgi-bin/bugreport.cgi).
>> >> > > >1 error
>> >> > > >
>> >> > > >I researched this and found one other person who had a similar error
.
>> >> > > >The response was that the file was too large to compile as a .jsp an
d t
>> o
>> >> > > >try another compiler. Is this the only option, besides trying to
>> >> > > >convert the program to run as a servlet? Thanks.
>> >> > > >
>> >> > > >-ron
>> >> > > >
>> >> > > >--
>> >> > > >Ron Parker
>> >> > > >Software Creations http://www.scbbs.com
>> >> > > >TradeWinds Publishing http://www.intl-trade.com
>> >> > > >TradePoint Los Angeles http://www.tradepointla.org
>> >> > > >SiteDirector Security Server http://livepublish.scbbs.com
>> >> > > >Civil War Online Library http://civilwar.scbbs.com
>> >> > > >
>> >> > > >
>> >> > >
>> >> > > Ciao,
>> >> > > Carsten Heyl
>> >> > >
>> >> > > Carsten Heyl Heyl@NADS.De
>> >> > > NADS - Solutions on Nets http://www.nads.de/
>> >> > > NADS GmbH http://www.pixelboxx.de/
>> >> > > Hildebrandtstr. 4E Tel.: +49 211 933 02-90
>> >> > > D-40215 Duesseldorf Fax.: +49 211 933 02-93
>> >> >
>> >> > --
>> >> > Ron Parker
>> >> > Software Creations http://www.scbbs.com
>> >> > TradeWinds Publishing http://www.intl-trade.com
>> >> > TradePoint Los Angeles http://www.tradepointla.org
>> >> > SiteDirector Security Server http://livepublish.scbbs.com
>> >> > Civil War Online Library http://civilwar.scbbs.com
>> >> >
>> >> >
>> >
>> >--
>> >Ron Parker
>> >Software Creations http://www.scbbs.com
>> >TradeWinds Publishing http://www.intl-trade.com
>> >TradePoint Los Angeles http://www.tradepointla.org
>> >SiteDirector Security Server http://livepublish.scbbs.com
>> >Civil War Online Library http://civilwar.scbbs.com
>> >
>> >
>>
>> Ciao,
>> Carsten Heyl
>>
>> Carsten Heyl Heyl@NADS.De
>> NADS - Solutions on Nets http://www.nads.de/
>> NADS GmbH http://www.pixelboxx.de/
>> Hildebrandtstr. 4E Tel.: +49 211 933 02-90
>> D-40215 Duesseldorf Fax.: +49 211 933 02-93
>
>--
>Ron Parker
>Software Creations http://www.scbbs.com
>TradeWinds Publishing http://www.intl-trade.com
>TradePoint Los Angeles http://www.tradepointla.org
>SiteDirector Security Server http://livepublish.scbbs.com
>Civil War Online Library http://civilwar.scbbs.com
>
>
Ciao,
Carsten Heyl
Carsten Heyl Heyl@NADS.De
NADS - Solutions on Nets http://www.nads.de/
NADS GmbH http://www.pixelboxx.de/
Hildebrandtstr. 4E Tel.: +49 211 933 02-90
D-40215 Duesseldorf Fax.: +49 211 933 02-93