你写的是path="/login"
你的form里面的action参数应该是login.do不是regist.do

解决方案 »

  1.   

    <action path="regist" forward="/regist.jsp"/>
     <action path="/regist" forward="/regist.jsp"/>
      

  2.   

    <action path="/login" type="classmath.loginAction" name="formBeans" scope="request"
         input="login.jsp"/>
    path 里面的跟type里面的类名一样吧
      

  3.   

    试试<action path="regist" forward="/regist.jsp"/>
    估计是路径问题
      

  4.   

    <a href=ContextPath+"regist.do">新用户注册</a>
    路径问题,在url前一个当前路径
    ContextPath=request.getContextPath()