![在这里插入图片描述](https://img-blog.csdnimg.cn/20201011164055432.jpg?)
手写一个Spring MVC
我们先手写一个Spring MVC,让你对Spring MVC的整体实现有一个基本的认识
github代码:https://github.com/erlieStar/servlet-learning
v3分支
用的是servlet 3.0所以就不用web.xml了,全程注解
定义注解
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Controller {
Strin