document.hrjobform.action名称写错了
楼主主要是没明白struts的本质,其实是分成两部分:服务端->客户端,客户端->服务端前者将html:form解析成<form> ,可以看看生成的网页的html代码
后者是将提交的form封装成actionForm所以只要你写的<form>和用html:form生成的<form>格式规范相同,提交还是一样的

解决方案 »

  1.   

    <html:form styleId="hrJobForm"    action="${contextPath}/job.do?method=getResumeView" method="post" enctype="multipart/form-data"> 
    </html:form> ${contextPath}/enctype="multipart/form-data
    这是什么东西?
      

  2.   

    document.hrJobForm.action="${contextPath}/job.do?method=saveResumeInfo";
    document.hrJobForm.target="_self"; 
      

  3.   


           document.forms[0].action="<%=request.getContextPath()%>/job.do";
           document.forms[0].submit(); forms[0]表示的页面上的form组成的数组,提交第一个form(一般只有一个form)的话就是forms[0]。
    想提交哪个,改变数组索引就好
      

  4.   

    enctype="multipart/form-data 
    这是一种格式,
      一般就是在发邮件的表单中用到这个
      

  5.   

    enctype="multipart/form-data 
    这是一种格式, 
      一般就是在上传文件中用到
      

  6.   

    谢谢各位,
            document.forms[0].action="<%=request.getContextPath()%>/job.do";
           document.forms[0].submit();    
    我都实验过了,我的jsp页面好像不支持这么写。今天是周末,明天到公司在试试看。
      

  7.   

     document.forms[0].action=" <%=request.getContextPath()%>/job.do"; 
     document.forms[0].submit();    
     我这么写,在普通form表单是可以的,但是在struts的表单中,报document.forms.0为空或不是对象?这个是怎么回事呢?我ie7.0下的测试
      

  8.   

    你先看看struts生成的html代码如何,用不用struts没有本质的区别
      

  9.   

    不好意思各位,是我页面上没引struts标签库。楼上的都有分