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

时间:2021-09-01 19:35:59   收藏:0   阅读:9

1.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/15208998.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!