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
本文来自博客园,作者:范宏达,转载请注明原文链接:https://www.cnblogs.com/pg-fanhongda/p/bug.html

浙公网安备 33010602011771号