应用SSH框架开发 出现The requested resource (/xxx/userLoginAction.action) is not available错误。
昨天还好好的,今天就出这个错了,我没改什么东西啊!struts.xml:<actionname="userLoginAction"class="com.Action.Us...
昨天还好好的,今天就出这个错了,我没改什么东西啊!
struts.xml:
<action name="userLoginAction" class="com.Action.UserLoginAction">
<result name="index">/JSP/index.jsp</result>
<result name="admin_index">/JSP/admin_index.jsp</result>
<result name="user_index">/JSP/user_index.jsp</result>
<result name="error">/JSP/index.jsp</result>
<result name="success">/JSP/upload.jsp</result>
</action>
jsp:
form.action="<%=request.getContextPath()%>/userLoginAction.action";
form.submit(); 展开
struts.xml:
<action name="userLoginAction" class="com.Action.UserLoginAction">
<result name="index">/JSP/index.jsp</result>
<result name="admin_index">/JSP/admin_index.jsp</result>
<result name="user_index">/JSP/user_index.jsp</result>
<result name="error">/JSP/index.jsp</result>
<result name="success">/JSP/upload.jsp</result>
</action>
jsp:
form.action="<%=request.getContextPath()%>/userLoginAction.action";
form.submit(); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询