action找不到的問題,用的是評論去的jar
HTTP Status 404 - There is no Action mapped for namespace [/] and action name [student_save] associated with context path [/sshTest].
type Status report
message There is no Action mapped for namespace [/] and action name [student_save] associated with context path [/sshTest].
description The requested resource (There is no Action mapped for namespace [/] and action name [student_save] associated with context path [/sshTest].) is not available.
路徑是沒輸入錯的,jsp也是可以訪問的,就是action訪問不了
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
?? ?<package name="test" extends="struts-default" namespace="/">
?? ??? ?<action name="student_*" class="com.ssh.action.StudentAction" method="{1}">
?? ??? ??? ?<result>/index.jsp</result>
?? ??? ?</action>
?? ?</package>
</struts>?? ?
這個是struts的配置
2016-10-17
環(huán)境問題,已經(jīng)解決