![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringMVC
芋头同学
一个小小的程序猿
展开
-
SSM整合
SSM整合导入坐标创建包创建spring配置文件创建springMVC配置文件配置web.xml文件完善工程目录 导入坐标 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope>原创 2020-09-04 17:36:02 · 103 阅读 · 0 评论 -
SpringMVC之配置异常处理器
1.模拟异常访问 @Controller @RequestMapping("/test") public class ExceptionTest { @RequestMapping("/1") public String test1() throws SysException{ try { System.out.println(1/0); } catch (Exception e) { e.printS...原创 2020-06-25 10:44:36 · 312 阅读 · 0 评论