HTTP Status 404 - There is no Action mapped for namespace / and action name searchAction报上面那个错,哪位大虾,帮忙指点一二!~
急···

解决方案 »

  1.   

    struts 配置 和 访问的路径检查一下吧 。
      

  2.   

    典型的struts2的命名空间问题,仔细检查一下路径吧!
      

  3.   

    struts.xml <package name="login" extends="struts-default" namespace="/login">    
             <action name="loginAction" class="loginActionBean">    
                 <result name="success">/home.jsp</result>
                 <result name="error">/index.jsp</result>
             </action> 
         </package>
    login.jsp <s:form action="loginAction" namespace="/login">
          <s:textfield id="name" name="name" label="用户名"/>
            <s:password id="password" name="password" label="密码"/>
            <s:submit value="登录"/>
          </s:form>
    应该是namespace设置的问题
    以上是我成功的例子以供参考