e*g
4 楼
well then it's not JSP problem, rather javac. nowadays nobody write
that kind big source file anyway. try break your JSP into subpages, and
use dynamic includes.
that being said, JSP IS rubbish, I agree, for a handful reasons.
【在 xt 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: 有一
: I just had tonnes of crashes due to javac.err.branch.too.big error. It's
: because the generate files cannot exceed 64K.
c*t
5 楼
Not being able to compile greater than 64K byte code is really a problem
in certain applications. Mainly in the lexers and parsers where large
precomputed tables is stored and could easily exceed 64K.
【在 e***g 的大作中提到】![](/moin_static193/solenoid/img/up.png)
:
: well then it's not JSP problem, rather javac. nowadays nobody write
: that kind big source file anyway. try break your JSP into subpages, and
: use dynamic includes.
: that being said, JSP IS rubbish, I agree, for a handful reasons.
in certain applications. Mainly in the lexers and parsers where large
precomputed tables is stored and could easily exceed 64K.
【在 e***g 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: well then it's not JSP problem, rather javac. nowadays nobody write
: that kind big source file anyway. try break your JSP into subpages, and
: use dynamic includes.
: that being said, JSP IS rubbish, I agree, for a handful reasons.
m*t
8 楼
JVM has certain limitations on the number of constants and a few
other things. I'm not aware of any limitation on the javac side.
【在 xt 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: The only thing I can tell you is that 64K is a very small limit for generated
: java code. If you have a big form containing a couple of select boxes, it's
: dead.
F*l
9 楼
Maybe you can convert it to servlet. If you have a jsp engine, it should not
be difficult to convert a html to a servlet. So you can try a servlet
instead a jsp, but they are euqal.
But I don't know if there is also such a limitation for java file.
【在 xt 的大作中提到】![](/moin_static193/solenoid/img/up.png)
:
: The only thing I can tell you is that 64K is a very small limit for generated
: java code. If you have a big form containing a couple of select boxes, it's
: dead.
be difficult to convert a html to a servlet. So you can try a servlet
instead a jsp, but they are euqal.
But I don't know if there is also such a limitation for java file.
【在 xt 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: The only thing I can tell you is that 64K is a very small limit for generated
: java code. If you have a big form containing a couple of select boxes, it's
: dead.
xt
10 楼
There is no such limitation to regular java code I guess. I have
written methods way larger than 64K if compiled into bytecode.
It's not difficult, but it is not what we are looking for.
【在 F*****l 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: Maybe you can convert it to servlet. If you have a jsp engine, it should not
: be difficult to convert a html to a servlet. So you can try a servlet
: instead a jsp, but they are euqal.
: But I don't know if there is also such a limitation for java file.
相关阅读
请教一个关于JDBC的问题,实在太烦了!eclipse 也不怎么样吗?structure in Java??如何用java在DB2里创建一个新的database[转载] 这个表格怎么submit啊?Re: Why are all java IDEs written in jav问个很简单的问题?One simple question!有没有专门作java document的工具javacc global var各位各位看过来Re: how to set java run time locale/enco跪求AppDev Studio怎么能够减少image上的锯齿?请问,怎么运行jnlp紧急请教JAVAapplet的显示问题[转载] 这个是什么错误呀?javacccode Re: structure in Java?? BEA WEBLOGIC WORKSHOP