Created
December 5, 2012 04:42
-
-
Save namkyu/4212294 to your computer and use it in GitHub Desktop.
web.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | |
<display-name>springProject</display-name> | |
<description>incross spring3.1 sample project</description> | |
<!-- ============================================================= --> | |
<!-- log4j setting --> | |
<!-- ============================================================= --> | |
<listener> | |
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | |
</listener> | |
<context-param> | |
<param-name>log4jConfigLocation</param-name> | |
<param-value>/WEB-INF/classes/log4j.xml</param-value> | |
</context-param> | |
<context-param> | |
<param-name>webAppRootKey</param-name> | |
<param-value>incross.spring</param-value> | |
</context-param> | |
<!-- ============================================================= --> | |
<!-- root application context --> | |
<!-- ============================================================= --> | |
<listener> | |
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | |
</listener> | |
<context-param> | |
<param-name>contextConfigLocation</param-name> | |
<param-value> | |
/WEB-INF/spring/root-context.xml | |
</param-value> | |
</context-param> | |
<!-- ============================================================= --> | |
<!-- spring dispatcher servlet --> | |
<!-- ============================================================= --> | |
<servlet> | |
<servlet-name>dispatcher</servlet-name> | |
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | |
<init-param> | |
<param-name>contextConfigLocation</param-name> | |
<param-value>/WEB-INF/spring/appServlet/servlet-context.xml</param-value> | |
</init-param> | |
<load-on-startup>1</load-on-startup> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>dispatcher</servlet-name> | |
<url-pattern>*.kyu</url-pattern> | |
</servlet-mapping> | |
<!-- ============================================================= --> | |
<!-- welcome file list --> | |
<!-- ============================================================= --> | |
<welcome-file-list> | |
<welcome-file>index.jsp</welcome-file> | |
</welcome-file-list> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment