本帖最后由 hzzlotos 于 2010-08-13 12:00:18 编辑

解决方案 »

  1.   

    刚才看见了 是在include 把名字给弄错了~~~但我真正开始时候
    <package name="struts-part1" extends="struts-default" namespace="/ka">
        <action name="GetBooks" class="cn.newtouch.action.GetBooksAction">
    相对应的<result name="success" type="chain">ka/GetBooks</result>
    这样就不行了 后来改来改去都不好 就是加了个命名空间
      

  2.   

    对应的报错是
    [There is no Action mapped for namespace / and action name ka/GetBooks.]很纳闷 为什么加了命名空间就不对呢
      

  3.   

    相对应 如果用重定向
    <result name="success" type="redirect-action">ka/GetBooks</result>
    这也是可以的