1\web.xml
<filter>
<filter-name>InterceptorStuwjTarget</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
<init-param>
<param-name>targetName</param-name>
<param-value>InterceptorStuwjTarget</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>InterceptorStuwjTarget</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
2\spring Bean
<!-- 轨迹记录处理类 -->
<bean id="InterceptorStuwjTarget" class="xggl.sjxt.dcwj_jg.web.StuAnwer" >
<property name="parsePopedom" ref="parsePopedom" />
<property name="jxpg_dcwj_stjgbService" ref="dcwj_jg.jxpg_dcwj_stjgbService"/>
<property name="sys_paramService" ref="sys_param.sys_paramService"/>
</bean>
3\java 代码
private IParsePopedom parsePopedom;
private Jxpg_dcwj_stjgbService jxpg_dcwj_stjgbService;
private Sys_paramService sys_paramService;