![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误处理
weixin_44286776
这个作者很懒,什么都没留下…
展开
-
maven-web项目el表达式不生效以及web.xml版本过低
查看web-app_2_3.dtd的版本,2.3以前默认isELIgnored属性是true <xsd:attribute name = "isELIgnored" default = "true" type = "Bool"/> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" >原创 2020-07-07 21:12:40 · 246 阅读 · 0 评论 -
IDEA启动报错404
解决方法: 完成后重新运行即可原创 2020-07-05 16:31:52 · 300 阅读 · 0 评论 -
REST:JSPs only permit GET POST or HEAD
1.在jsp标签上添加属性isErrorPage=“true” <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true" %> 2.借用重定向 重新写一个执行success的方法,返回时先重定向到该方法 @RequestMapping(value = "/user",method = RequestMethod.DELETE) publ原创 2020-07-03 13:29:30 · 104 阅读 · 0 评论