action <result type="redirectAction">list</result>问题
<actionname="login"class="mypack.UserAction"><resultname="success">/Success.jsp</resu...
<action name="login" class="mypack.UserAction">
<result name="success">/Success.jsp</result>
<result name="error">/Error.jsp</result>
</action>
改用
<action name="login" class="mypack.UserAction">
<result type="redirectAction">list</result>
</action>
<action name="list" class="mypack.HibernateSessionFactory">
<result name="success">/Success.jsp</result>
<result name="error">/Error.jsp</result>
</action>
为什么就不成功了 展开
<result name="success">/Success.jsp</result>
<result name="error">/Error.jsp</result>
</action>
改用
<action name="login" class="mypack.UserAction">
<result type="redirectAction">list</result>
</action>
<action name="list" class="mypack.HibernateSessionFactory">
<result name="success">/Success.jsp</result>
<result name="error">/Error.jsp</result>
</action>
为什么就不成功了 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询