1.新建web maven工程 2.配置Tomcat服务器 3.加入依赖 4.在web.xml中注册springmvc框架的核心对象DispatcherServlet 5.创建一个发起请求的页面index.jsp