jsp中<a href="javascript:top.fr_main.location='<%=request.getContextPath()%& gt;/userlist.do';void(0);">员工一览</a>不能进入相应的action,debug不能进入相应的 action类,却能正常迁移到success页面,配置如下 <action attribute="userForm" input="/userlist.jsp" name="userForm" path="/userlist" scope="request" type="org.springframework.web.struts.DelegatingActionProxy" validate="true">
<forward name="success" path="/userlist.jsp"/>
<forward name="failure" path="/userlist.jsp"/>
</action> <bean name="/userlist" class="com.ssh.struts.action.UserListAction">
<property name="dempdao">
<ref bean="dempdaoimpl" />
</property>
</bean> 那个老大帮帮我吧,感谢了!
<forward name="success" path="/userlist.jsp"/>
<forward name="failure" path="/userlist.jsp"/>
</action> <bean name="/userlist" class="com.ssh.struts.action.UserListAction">
<property name="dempdao">
<ref bean="dempdaoimpl" />
</property>
</bean> 那个老大帮帮我吧,感谢了!
你的堆栈异常是什么?贴出来,针对性强一些.
<plug-in
className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation"
value="WEB-INF/applicationContext.xml" />
</plug-in>
一样啊
你看看是不是这么回事