# 测试springmvc **Repository Path**: hb_study/test_springmvc_mi ## Basic Information - **Project Name**: 测试springmvc - **Description**: 测试自定义框架springmvc - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-15 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 作业 1 ### git地址 手写springmvc框架地址 https://gitee.com/hb_study/springmvc_framework.git 手写spring框架地址 https://gitee.com/hb_study/spring_framework.git 测试springmvc地址(当前git) https://gitee.com/hb_study/test_springmvc_mi.git **注意:有需求就去拉去代码,测试框架中会从私服中拉去jar,不需要关心,如果要看源码就去拉去** ### 启动 - 代码编译后,不需要引入Tomcat,因为gradle我引入的tomcat ![image-20200515113353808]( https://typora-hb.oss-cn-shanghai.aliyuncs.com/typera/image-20200515113353808.png) **点击上面图片按钮启动tomcat,默认端口8081** ### 访问路径 - 正常,不需要权限 http://localhost:8081/demo/test?name=bohuang&sex=1&age=12 - 正常,有权限,权限正确 http://localhost:8081/demo/test01?name=bohuang&sex=1&age=12&username=zhangsan - 错误,有权限,权限错误 http://localhost:8081/demo/test01?name=bohuang&sex=1&age=12&username=lisi - 错误,有权限,未输入权限 http://localhost:8081/demo/test01?name=bohuang&sex=1&age=12 - 404找不到页面 http://localhost:8081/demo/test03 ## 作业2 ### git地址 https://gitee.com/hb_study/ssd.git