启动tomcat 给出这个相信,结果这个action就不能用了,Unable to verify action class [CustomerAction] exists at initialization
访问时就报错,说${Proxy}不能转换为action所引用的业务对象,没有editors和转换策略
action和业务对象都是spring管理的
struts.xml 配置:
<action name="customerAction*" class="CustomerAction" method="{1}">app-actions.xml 配置:
<bean id="customerAction" class="com...CustomerAction" scope="prototype">
<property name="customerService" ref="CustomerServiceImpl">
</bean>求高人指点