ssm框架集成步骤

1.集成spring

1.1 使用myeclipse集成spring 核心包,持久化包,web包
1.2 修改web.xml 添加application监听器,在application(应用)启动时,同时启动spring

<listener>
	<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>
  <context-param>
	<param-name>contextConfigLocation</param-name>
	<param-value>classpath:applicationContext

你可能感兴趣的:(spring,mybatis)