English 中文(简体)
收集......jsp文档中的错误
原标题:getting"too large to compile ...." error in jsp file
  • 时间:2010-03-22 16:14:19
  •  标签:
  • jsp

在现有的jsp档案中,我增加了10条法典。 申请一经执行,就收到“到(......>/strong>)”的错误。

在我led忙之后,似乎存在一些小问题,应当加以整理;64K尺寸。 然后,在现有的jsp档案中删除了约20-30条评论代码,并尝试了申请,但仍有iam错。

除了经过评论的行文法之外,是否还有其他法律可以删除,以减少面积小于和小于;64K? 我也不能把档案分开。 幸运有助于我解答这一问题。

问题回答

您提到的64k限额可能是代表贵国共同财产计划的方法的大小。 它确实是<>而不是 ,这意味着你的共同方案不应小于64k。

我所看到的唯一事例是,有数万个元素的阵列是以单一方法开始的(几乎总是表明数据必须超出编码范围)。

贵联会是否包含这样的内容?

贵联会是多么大? 是什么确切阻止你将其分成小部分?

如果你真的能够减少你的法典的大小,即建议你将自己的小块分割成不同的小块,使用动态(jsp:include)。

Another thing, don t put your logic inside your jsp; try to use MVC moving the logic to some business object handled by servlet. Use your jsp just for the view part of the architecture.





相关问题
Convert typed-in Text to lowercase

I ve got an index.jsp with [snip] <% String name = request.getParameter("name"); String pass = request.getParameter("pass"); String globalname = "webeng"; String globalpass = "2009"; ...

session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

Setting the default value in Struts2

I am setting the value(kind of default value) for a drop down select value from action class in a page(given below). When the page loads the value is beig displayed but the other elements of the ...

Evaluate dynamically constructed JSP at runtime

I have a requirement where in the JSP page itself is created by the user and stored in the database. When viewing results we need to render this JSP to the client, evaluating all tags inside this JSP. ...

How to Pack/Encrypt/Unpack/Decrypt a bunch of files in Java?

I m essentially trying to do the following on a Java/JSP-driven web site: User supplies a password Password is used to build a strongly-encrypted archive file (zip, or anything else) containing a ...

JSP exception - class not found (tomcat)

I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...

ArrayList to Table in JSP

I have an ArrayList and i am trying to display it in a table ..... ArrayList rows = .... ..... <table cellspacing="1" cellpadding="4" border="3"> <tr> <TH>...

热门标签