1以下为corp_infos.JSP内容,为什么表单提交后还停留在corp_infos.JSP,并没有跳转到member/companyInfoFinal对应的JSP
2 form嵌套form,内层的form中的文件怎样提交
<input type="hidden" name="hashForm" value="${p2p:hashForm()}" />
<table border="0" class="memForm">
<tr>
<th>类型:</th>
<td><select name="data.qyType" id="corp_s" class="money3">
<option value="">请选择</option>
<option value="0">律师事务所</option>
<option value="1">资产管理公司</option>
<option value="2">保理公司</option>
<option value="3">评估公司</option>
<option value="4">其他</option>
</select></td>
</tr>
<tr>
<th>处置方式:</th>
<td class="lable_radio" >
<label><input type="checkbox" name="data.disposal" value="司法诉讼" />司法诉讼</label>
<label><input type="checkbox" name="data.disposal" value="安全催收" />安全催收</label>
<label><input type="checkbox" name="data.disposal" value="资产收购" />资产收购</label>
<label><input type="checkbox" name="data.disposal" value="资产置换" />资产置换</label>
<label><input type="checkbox" name="data.disposal" value="营销介入" />营销介入</label>
<label><input type="checkbox" name="data.disposal" value="资产评估" />资产评估</label>
<label><input type="checkbox" name="data.disposal" value="资产拍卖" />资产拍卖</label>
<label><input type="checkbox" name="data.disposal" value="其他" />其他</label>
</td>
</tr>
<tr>
<th>服务区域:</th>
<td>
<!-- <select class="money3" id="provinces">
<option>请选择</option>
<option>湖南省</option>
<option>广东省</option>
</select>
<select class="money4" id="cities">
<option>请选择</option>
<option>长沙市</option>
<option>株洲市</option>
<option>湘潭市</option>
</select>-->
<select id="ID_Province" name="province" class="guoselect"
style="width: 130px;margin-left: -4px;"></select>
<select id="ID_City" name="city" class="guoselect"
style="width: 150px"></select>
<select id="ID_Area" name="area" class="guoselect"
style="width: 150px"></select>
<input id="get" class="money2" name="data.serviceArea" type="hidden" value=""/>
</td>
</tr>
<tr>
<th>企业名称:</th>
<td><input type="text" name="data.name" id="money2" class="money2" value="${enterprise.name}"/></td>
</tr>
<tr>
<th>所在地:</th>
<td><input type="text" class="money2" name="data.address" value="${enterprise.address}"/></td>
</tr>
<tr>
<th>证件号:</th>
<td>
<input type="text" class="money2" name="data.certificates" value="${enterprise.certificates}"/><span class="cor9f9">营业执照注册号</span>
<span class="Validform_wrong"></span>
</td>
</tr>
<tr>
<th>营业执照:</th>
<td>
<div class="file-box">
<!-- <form target="hideWin" enctype="multipart/form-data" method="post"
action="" ftype="valid" ajax="true"> -->
<input type="file" name="Filedata" class="yyzzfile" id="fileField2" onchange="document.getElementById('textfield2').value=this.value" />
<input type="button" class="yyzzbtn" value="上传证件扫描件" />
<input type="text" name="data.license" id="textfield2" class="yyzztxt" value="上传图片大小不超过3M" disabled="disabled" />
<a ftype="submit" hidefocus="true">
<input type="button" ajaxSubmit="" class="yyzzbtn" value="上传证件扫描件" /></a>
<!-- </form> -->
</div>
</td>
</tr>
<tr>
<th>法定代表人:</th>
<td>
<input type="text" class="money2" name="data.representative" value="${enterprise.representative}"/>
<span class="Validform_wrong"></span>
</td>
</tr>
<tr>
<th>经营范围:</th>
<td>
<textarea class="money5" name="data.businessScope" value="${enterprise.businessScope}" rows="5"></textarea>
<span class="Validform_wrong "></span>
</td>
</tr>
<tr>
<th>企业规模:</th>
<td>
<input type="text" class="money2" name="data.qyscale" value="${enterprise.qyscale}"/><span class="cor9f9">员工人数</span>
<span class="Validform_wrong"></span>
</td>
</tr>
<tr>
<th>企业简介:</th>
<td>
<textarea class="money5" name="data.briefIntroduction" value="${enterprise.briefIntroduction}" rows="5"></textarea>
<span class="Validform_wrong "></span>
</td>
</tr>
<tr>
<th>企业固话:</th>
<td>
<input type="text" name="data.qyphone" value="${enterprise.qyphone}" class="money2" />
<span class="Validform_wrong"></span>
</td>
</tr>
<tr>
<th>联系邮箱:</th>
<td>
<input type="text" name="data.email" value="${enterprise.email}" class="money2" />
<span class="Validform_wrong"></span>
</td>
</tr>
<tr>
<th>联系人姓名:</th>
<td>
<input type="text" class="money2" value="${enterprise.lxNname}" name="data.lxNname"/>
<span class="Validform_wrong"></span>
</td>
</tr>
<tr>
<th>联系人电话:</th>
<td>
<input type="text" class="money2" value="${enterprise.lxphone}" name="data.lxphone"/>
<span class="Validform_wrong"></span>
</td>
</tr>
<tr>
<td> </td>
<td class="pl24">
<a id="idBtn" ftype="submit" hidefocus="true">
<input type="button" class="recharge_butt" value="提交资料" /></a>
</td>
</tr>
</table>
</form>
对应的控制器
@At("/companyInfoSaving")
public View companyInfoSaving(@Attr(Auth.FRONT_KEY)Auth me,@Param("::data.") Enterprise en)
{
if (this.isPost())
{
en.mid=me.id;
daoHelper.update(en);
this.assgin("enterprise", en);
}
else
{
Enterprise enO = daoHelper.find(me.id, Enterprise.class);
this.assgin("enterprise",enO);
}
return this.getMemberView("corp_infos_final");
}
/**
* 公司提交信息
* @param me
* @return
*/
@At("/companyInfo")
public View companyInfo(@Attr(Auth.FRONT_KEY)Auth me){
Enterprise enO = daoHelper.find(me.id, Enterprise.class);
this.assgin("enterprise",enO);
return this.getMemberView("corp_infos");
}