struts-config.xml中有这样两端配置: <form-bean name="usersForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="vo" type="org.cms.pojo.Manager" />
</form-bean><action path="/queryUser" name="usersForm"
type="org.springframework.web.struts.DelegatingActionProxy"
scope="request">
<forward name="userList" path="/WEB-INF/template/sysmgr/user/userlist.ftl" />
</action>ApplicationContext.xml中有这样一段配置: <bean name="/queryUser"
class="org.cms.sysmgr.user.action.QueryUserAction"
singleton="false">
<property name="usersService">
<ref bean="usersServiceImp" />
</property>
<property name="roleService">
<ref bean="roleServiceImp" />
</property>
<property name="privilegeService">
<ref bean="userPrivilegeServiceImp" />
</property>
</bean>
当jsp页面中调用调用queryUser.do的时候,上面三个地方的访问顺序到底是怎么样的呢:?
<form-property name="vo" type="org.cms.pojo.Manager" />
</form-bean><action path="/queryUser" name="usersForm"
type="org.springframework.web.struts.DelegatingActionProxy"
scope="request">
<forward name="userList" path="/WEB-INF/template/sysmgr/user/userlist.ftl" />
</action>ApplicationContext.xml中有这样一段配置: <bean name="/queryUser"
class="org.cms.sysmgr.user.action.QueryUserAction"
singleton="false">
<property name="usersService">
<ref bean="usersServiceImp" />
</property>
<property name="roleService">
<ref bean="roleServiceImp" />
</property>
<property name="privilegeService">
<ref bean="userPrivilegeServiceImp" />
</property>
</bean>
当jsp页面中调用调用queryUser.do的时候,上面三个地方的访问顺序到底是怎么样的呢:?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货