下面这一段有错:  
<action-mappings>
    <action  path="/loginAction"  type="best.LoginAction" validate="false" scope="request" name="loginActionForm"/>
  </action-mappings>改为:
<action-mappings>
    <action  path="/loginAction"  type="best.LoginAction" validate="false" scope="request" name="loginActionForm"/>
     </action>
  </action-mappings>少写了一个 </action>,楼主以后写完xml一定要检验,最简单的方法是用html直接浏览
不知还有没有其他错误,先试试

解决方案 »

  1.   

    ps:用不用struts标签其实都可以的,不过最好还是用,要不浪费
      

  2.   

    楼上说什么呢?
    <action>标记就那么写没错struts标签不用就不能自动装载ActionForm,是必须的
      

  3.   

    好象是jbuilder
    我也是这样,
      

  4.   

    代码是没有错误的!能正常运行,只不过你跳转的页面还是index.jsp而以!出现错误“No action instance for path /loginAction could be created”,应该是系统找不到best.LoginAction类,要看你是怎么运行的?
      

  5.   

    方法名错了吧。。好象是execute
      

  6.   

    应该是找不到那个best.LoginAction的类吧!找一下看看有没有编译了!放的地方对不对呀!