[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: Java Compiler Exception Error



>> 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.
>
>Maybe we should do this too?  Would require some fundamental changes.  Actuall
y I
>kind of like this idea, it would mean static content wouldn't have to remain
>memory resident.  Something to think about as a future enhancement.

But there is one think we CAN do. I can't do it now, maybe this afternoon
tell me if you want to dig in it:

Autoflush the textChunk as Node  in JspParser if it would exceed
32000 Bytes when appending new template data.
Then it worked for me.

Ron: Until thats done you can put "<% %>" in your code
after a couple of lines so that the whole string won't be so long.

Ron: for the other problem (can not look into it now):
	If the jserv process didn't die nicely on a request
	it won't be able to produce headers.
	Try to add "-v" parameter to the wrapper args 
	maybe then you see something.

>
>
>> >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 and to
>> >try another compiler.  Is this the only option, besides trying to
>> >convert the program to run as a servlet?  Thanks.
>
>You could break it into smaller pieces and use <jsp:include ... > tags.
>
>Wes
>
>
>

Ciao,
	Carsten