Spring中MVC模块代码详解

  <?xml version= "1.0" encoding="UTF-8"?>

  

  "http://www.springframework.org/dtd/spring-beans.dtd">

  

  

  

  /WEB-INF/jsp/

  

  

  .jsp

  

  

  

  

  

  catController

  

  

  

  

  

  

  

  web.xml配置

  

  contextConfigLocation

  

  /WEB-INF/classes/applicationContext.xml,

  /WEB-INF/classes/spring-action.xml

  

  

  

  

  org.springframework.web.context.ContextLoaderListener

  

  

  

  spring

  org.springframework.web.servlet.DispatcherServlet

  

  contextConfigLocation

  /WEB-INF/classes/spring-action.xml

  

  1

  

  

   spring

  *.mvc