결국은 단계적으로 없어지고 FreeMarker으로 대체될 것이다.
xwork.xml
<result-type name="velocity" class="com.opensymphony.webwork.dispatcher.VelocityResult"/>
webwork.properties
### Location of velocity.properties file.
webwork.velocity.configfile = velocity.properties
### Comma separated list of VelocityContext classnames
webwork.velocity.contexts =
#JSP tag packages
webwork.velocity.tag.path = com.opensymphony.webwork.views.velocity.ui
velocity.properties
기본적으로, WebWork는 classloader과 화일 시스템, 또는 데이터베이스로부터 자원을 로딩한다.
현재 환경에서 web.xml에 추가한 부분
<servlet>
<servlet-name>velocity</servlet-name>
<servlet-class>
org.apache.velocity.tools.view.servlet.VelocityViewServlet
</servlet-class>
<init-param>
<param-name>org.apache.velocity.toolbox</param-name>
<param-value>/WEB-INF/toolbox.xml</param-value>
</init-param>
<load-on-startup>10</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>velocity</servlet-name>
<url-pattern>*.vm</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.vm</welcome-file>
</welcome-file-list>

