bug记录及解决方法(持续更新)

  • The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes
    网上解释说这个是错误是JSP过大导致的,通常的解决方法是分成多个jsp页面,然后通过incloud标签加载。
    但是如果不想分成多个jsp页面也可以通过修改tomcat配置文件的方式启动项目。

    解决方法:
    修改tomcat下的web.xml, 搜索:JspServlet, 增加:
    <init-param>
    <param-name>mappedfile</param-name>
    <param-value>false</param-value>
    </init-param>
    参考修改路径:
    D:\Program Files\apache-tomcat-7.0.75\conf\web.xml
posted @ 2021-08-31 10:16  冯诺伊达  阅读(136)  评论(0)    收藏  举报