简单的HelloWorld

 步骤:

  -加入jar包

    简单的HelloWorld

  -在web.xml中配置DispatcherServlet

    简单的HelloWorld

    简单的HelloWorld

  -加入Spring MVC的配置文件

     新建文件springmvc.xml:

      简单的HelloWorld

       简单的HelloWorld

  -编写处理请求的处理器,并标识为处理器

    简单的HelloWorld

       简单的HelloWorld

  -编写视图

      新建index.jsp页面,内容为:

      简单的HelloWorld

      新建success.jsp页面,内容为:

      简单的HelloWorld

 

相关文章: