|
Struts example source code file (xwork-autowire.xml)
The Struts xwork-autowire.xml source code<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 2.0//EN" "http://www.opensymphony.com/xwork/xwork-2.0.dtd"> <xwork> <bean type="com.opensymphony.xwork2.ActionProxyFactory" name="default" class="com.opensymphony.xwork2.DefaultActionProxyFactory" /> <bean type="com.opensymphony.xwork2.ObjectFactory" name="default" class="com.opensymphony.xwork2.spring.SpringObjectFactory" /> <constant name="applicationContextPath" value="com/opensymphony/xwork2/spring/actionContext-spring.xml" /> <package name="default"> <result-types> <result-type name="null" class="com.opensymphony.xwork2.result.NullResult" default="true"/> </result-types> <interceptors> <interceptor name="autowire" class="com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptor"> <param name="autowireStrategy">@org.springframework.beans.factory.config.AutowireCapableBeanFactory@AutowireCapableBeanFactory.AUTOWIRE_BY_TYPE </interceptor> </interceptors> <default-interceptor-ref name="autowire"/> <action name="simpleAction" class="com.opensymphony.xwork2.SimpleAction"/> </package> </xwork> Other Struts examples (source code examples)Here is a short list of links related to this Struts xwork-autowire.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.