『 Web.xml(Spring MVC Bean 취득) 』
<소스코드>
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring/servlet-context.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
'자바 > JAVA...Spring' 카테고리의 다른 글
Spring 3.2 & MyBatis ) ApplicationContext.xml(2) (0) | 2015.11.26 |
---|---|
Spring 3.2 & MyBatis ) ApplicationContext.xml (0) | 2015.11.25 |
Spring 3.2 & MyBatis ) Web.xml(Spring Web 스코프 이용 설정) (0) | 2015.11.24 |
Spring 3.2 & MyBatis ) Web.xml(공통 Spring Bean 취득) (0) | 2015.11.24 |
Spring 3.2 & MyBatis ) web.xml (0) | 2015.11.23 |