Forms 在jsp中提交子表单后如何返回父表单
我已经用jsp创建了销售凭证表单。若客户并没有注册,那个么它需要先注册,所以我在表单中给出了customer.jsp的链接 当所有验证完成后提交客户条目时,它需要返回到salessentique.jspForms 在jsp中提交子表单后如何返回父表单,forms,jsp,Forms,Jsp,我已经用jsp创建了销售凭证表单。若客户并没有注册,那个么它需要先注册,所以我在表单中给出了customer.jsp的链接 当所有验证完成后提交客户条目时,它需要返回到salessentique.jsp 有人能告诉我怎么做吗?我在销售凭证jsp中添加了按钮,以打开客户主jsp而不是链接,并在单击按钮事件时调用ShowModalDialog方法 <input id="createcustomer" type="button" value="Create New Customer" oncl
有人能告诉我怎么做吗?我在销售凭证jsp中添加了按钮,以打开客户主jsp而不是链接,并在单击按钮事件时调用ShowModalDialog方法
<input id="createcustomer" type="button" value="Create New Customer" onclick="window.showModalDialog('http://localhost:8080/AA/CustomerMaster.jsp','self');">
并在Customer Master中使用ajax存储记录。要重新加载并恢复到销售凭证,我在Customer Master的正文中使用了window.opener.location.reload
<body onunload="window.opener.location.reload(); self.close();">