你庄哥哥
2016-10-16 22:57
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的配置
环境问题,已经解决
基于SSH实现员工管理系统之框架整合篇
49831 学习 · 344 问题
相似问题