.

web.xml의 Webwork Filter, Spring Listener 설정

<!-- WebWork Filter -->
 <filter>
  <filter-name>webwork</filter-name>
  <filter-class>
   com.opensymphony.webwork.dispatcher.FilterDispatcher
  </filter-class>
 </filter>

<!-- WebWork Filter Mapping -->
 <filter-mapping>
     <filter-name>webwork</filter-name>
     <url-pattern>*.do</url-pattern>
 </filter-mapping>

<!-- Sping Context-param -->
 <context-param>
  <param-name>contextConfigLocation</param-name>
  <param-value>/WEB-INF/applicationContext.xml</param-value>
 </context-param>

<!-- Spring listener -->
 <listener>
  <listener-class>
   org.springframework.web.context.ContextLoaderListener
  </listener-class>
 </listener>

<!-- sitemesh Filter -->
  <filter>
    <filter-name>sitemesh</filter-name>
    <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
  </filter>

<!-- sitemesh Filter Mapping-->
  <filter-mapping>
    <filter-name>sitemesh</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

.