当按提交submit时出现这个错误是为什么?(100分) 楼主把你的jsp页的内容贴出来 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 检查所对应的action是否名字大小写匹配查路径,映射,是否正确 检查struts-config.xml文件中path="/register"映射的type属性值所对应的类路径是否和真实的类路径相符........ 问题出现在<html:form action="/register.do" method="post" focus="id">这个/register.do 存在吗?? 在struts-config.xml中的配置是:<action path="/register" type="action.RegisterAction" scope="request" name="registerForm" validate="false" input="/newstudent.jsp"><forward name="success" path="/resuccess.jsp"></forward><forward name="failure" path="/error.jsp"></forward>这个应没有问题. 这个/register.do当然存在,就是action.RegisterAction 问题就是这个<action path="/register" type="action.RegisterAction" scope="request" name="registerForm" validate="false" input="/newstudent.jsp">--------<action path="/register" type="actions.RegisterAction" scope="request" name="registerForm" validate="false" input="/newstudent.jsp">异常其实已经很清楚了是actions.RegisterAction而不是action.RegisterAction楼主太粗心了 我的文件夹名是action而不是actions. 但是这个异常怎么解释呢?java.lang.NoClassDefFoundError: action/RegisterAction (wrong name: actions/RegisterAction)你肯定在什么地方写的是actions啊 学java却要我做PHP MyEclipse中搭建struts和spring框架 CachedRowSet的问题,它的populate方法不能用 想知道Jakarta Commons DBCP与Proxool的比较 请问各位达人一个struts的问题,非常急~~~拜托~ 一个结合JSTL和JSP表达式语言的经典问题(正) 100分求EJB高手指教,救命的啊! jdbc和entitybean混合使用会出现数据不一致么?参与有分 小菜求助spring注入的问题 运行spring mvc 时报出的异常 请问怎样在JSP页面显示摄像头的图像? 一个很奇怪的问题,请帮忙解决一下~在线等
查路径,映射,是否正确
这个/register.do 存在吗??
<action path="/register" type="action.RegisterAction" scope="request" name="registerForm" validate="false" input="/newstudent.jsp">
<forward name="success" path="/resuccess.jsp">
</forward>
<forward name="failure" path="/error.jsp">
</forward>
这个应没有问题.
<action path="/register" type="action.RegisterAction" scope="request" name="registerForm" validate="false" input="/newstudent.jsp">
--------
<action path="/register" type="actions.RegisterAction" scope="request" name="registerForm" validate="false" input="/newstudent.jsp">
异常其实已经很清楚了
是actions.RegisterAction而不是action.RegisterAction
楼主太粗心了
java.lang.NoClassDefFoundError: action/RegisterAction (wrong name: actions/RegisterAction)你肯定在什么地方写的是actions啊