Hi,
havent got a soln to this problem so far....i am posting this again hoping
somebody would help me out....
one more fact is that i cannot modify the jsp as such as it is being
generated by a tool....
thanks
rahul
-----Original Message-----
From: Rahul Mohan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 11:06 AM
To: struts
Subject: code too large for try statement
Hi,
I have a JSP page with Struts and JSTL tags. It is
pretty big with about
15 conrols and a *LOT* of JSTL tags. When I try host the page in Weblogic8.1
i get the following compile error:
window.java:12652:code too large for try statement
try { // _c_set1 popBody() try/finally.. ...
in other words the try {} block in _jspservice is so huge, it exceeded the
64K limit imposed by jvms.
The root problem I found out to be in the jsp traslation mechanism of
weblogic8.1 container. It translates the entire page into a single
_jspservice method. Is this a known problem with weblogic and jstl tags (i
think its the code for tag thats making the servlet huge) ?
I tried the same page on tomcat. Tomcat does not give any problem as it
handles each tag as a seperate method which is being called from
_jspService. we have to agree that tomcat uses a much better way of doing
it!
has anybody else faced this problem before? do we have any workarounds,
other than using jsp:include?
awaiting ur comments....
rahul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]