当前位置: 代码迷 >> Java Web开发 >> 真的好奇怪,为什么org.apache.struts.actions.ForwardAction不能用?解决办法
  详细解决方案

真的好奇怪,为什么org.apache.struts.actions.ForwardAction不能用?解决办法

热度:485   发布时间:2016-04-17 10:19:11.0
真的好奇怪,为什么org.apache.struts.actions.ForwardAction不能用??!!!
搞了老长时间。。。
<action path="/CustConfirmAction"
  type="org.apache.struts.actions.ForwardAction" 
  name="CustRegistForm"  
  validate="true"
  scope="session"
  input="/view/jsp/custregistinput.jsp"
  parameter="/view/jsp/custregistconfirm.jsp">  
</action>

错误;
java.lang.ClassNotFoundException: org.apache.struts.actions.ForwardAction

敬请各位高手指教!

------解决方案--------------------
org.apache.struts.action.ActionForward;

兄弟似乎你多了个 s
都是粗心惹的祸
------解决方案--------------------
struts。jar包没有引入

------解决方案--------------------
恩,包没有引用吧.
------解决方案--------------------
帮顶
------解决方案--------------------
jar包惹的祸
------解决方案--------------------
你org.apache.struts.actions.ForwardAction有没有这个action类?
------解决方案--------------------
有没有编译啊~
------解决方案--------------------
楼主还没好啊?帮顶下
------解决方案--------------------
楼主的就是没导进那个jar包
我刚才也特意找了一下,1.3的还真没有那个ForwardAction
楼主自己网上多找找吧!
------解决方案--------------------
还是少包
  相关解决方案