The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes

解决办法1、

<%@ include file=" "%>

改为:

<jsp:include page=" " />

解决办法2、

第一种解决办法不行的话,web.xml中添加以下代码:

<servlet>
    <servlet-name>jspservlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServletservlet-class>
    <init-param>
        <param-name>mappedfileparam-name>
        <param-value>falseparam-value>
    init-param>
servlet>

我是这么解决的,希望对别人有所帮助。
参考:http://stackoverflow.com/questions/5484253/jspservice-is-exceeding-the-65535-bytes-limit

你可能感兴趣的:(javaweb)