本帖最后由 oNothing12345 于 2014-09-08 19:17:03 编辑

解决方案 »

  1.   

    是不是index.jsp中路径的问题啊?你确定product-input 这种写法没问题?
      

  2.   

    很明显是找不到org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter,确定struts2-core-版本号.jar在classpath中吗?
      

  3.   

    自己已解决问题。
    问题1: web.xml中配置的 起始页面 写成了index.html,应该是index.jsp。原因,从别的工程中复制过,导致出错。
    问题2: MyEclipse10 IDE 出问题。那个Struts2的拦截器类找不到,至今原因不明。我换了一个IDE。
    问题3:input.jsp中多写了一个<form action="product-save" method="post">。而我没有在struts.xml 中配置该动作的处理