[請教]使用Struts標籤時由Jsp編譯成Servlet之後Try塊的程式碼太多導致的錯誤

mm_hotsky發表於2005-07-04



已經是第二次碰到這個問題了.

簡單的從提示資訊上看是因為由JSP編譯成的Servlet中Try塊的程式碼太多導致了這個錯誤
但是不清楚是由頁面上哪個標籤導致的,上一次碰到這個問題的時候我是被迫把頁面拆分
成了2個頁面來完成的.

不知道在這個問題上大家有什麼好方法沒有? 誠心請教!!!


開發環境:
Struts1.2.4
JBuilder X
Weblogic8.1.3



以下是錯誤資訊:

"
Compilation of 'D:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_ivapp_iv\jsp_servlet\_verinote\_letter\_out\__out.java' failed:
--------------------------------------------------------------------------------
D:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_ivapp_iv\jsp_servlet\_verinote\_letter\_out\__out.java:8909: code too large for try statement
(No more information available, probably caused by another error)

D:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_ivapp_iv\jsp_servlet\_verinote\_letter\_out\__out.java:655: code too large
(No more information available, probably caused by another error)


--------------------------------------------------------------------------------
Full compiler error(s):
D:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_ivapp_iv\jsp_servlet\_verinote\_letter\_out\__out.java:8909: code too large for try statement
} catch (Throwable __ee) {
^
D:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_ivapp_iv\jsp_servlet\_verinote\_letter\_out\__out.java:655: code too large
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
^
2 errors


--------------------------------------------------------------------------------
Mon Jul 04 09:13:25 CST 2005
"

相關文章