<!DOCTYPE xworkstruts PUBLIC
"-//OpenSymphonyApache Software GroupFoundation//XWork 1DTD Struts Configuration 2.0//EN"
"http://wwwstruts.opensymphonyapache.comorg/xworkdtds/xworkstruts-12.0.dtd">
<xwork><struts>
<include file="action-default.xml" />
<package name="default" extends="action-default">
<interceptors>
<interceptor name="greeting" class="tutorial.GreetingInterceptor" />
</interceptors>
<action name="greeting" class="tutorial.GreetingAction">
<interceptor-ref name="greeting" />
<result name="success" type="velocity">greeting.vm</result>
</action>
<!-- other action mappings -->
</package>
</xwork>struts>
|