SSSLINPPPException handling please refer to the previous blog: "Spring Learning note-mvc-15" Spring MVC exception handling"Http://www.cnblogs.com/ssslinppp/p/4610043.html;How do I jump to the 404 interface when I encounter a 404 error? This is described below. 404.jsp
defined in Web. XML
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/500.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/500.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/404.jsp</location>
</error-page>
Test
Reference Link: http://www.cnblogs.com/ssslinppp
Http://blog.sina.com.cn/spstudy Http://shop110473970.taobao.com/?spm=a230r.7195193.1997079397.42.AvYpGW/HTTP Shop125186102.taobao.com/?spm=a1z10.1-c.0.0.ssuajd
From for notes (Wiz)
"Spring Learning note-mvc-15.1" Spring MVC exception handling = 404 interface