方法一:
<html:form action="DmrApplicationConfirm.do" method="post">
<html:submit />
方法二:
<html:form action="/DmrApplicationConfirm" method="post">
<html:submit />
方法三:
<html:button property="sbumit" value="確認をする" οnclick="window.location.href=' DmrList.do' "></html:button>
方法四:
<a href="<%=Con_Path %>/DmrList.do"><img src="<%=Con_Path %>/img/dmr/user/btn_next_back.gif" alt="次へ(確認)" width="177" height="31" border="0"></a>
<%=Con_Path %>是取得绝对的url,也可以使用绝对的url代替
方法五:
<script language="javaScript">
function toDmrApplication(){
<!-- get birthDay-->
var frm=document.DmrApplicationConfirmForm;
if(validateDmrApplicationConfirmForm(frm))
{
var year=frm.birthYear.value;
var month=frm.birthMonth.value;
var day=frm.birthDay.value;
frm.birthDate.value=year+"/"+month+"/"+day;
frm.hassubmit.value = true;
<!-- get giftCd -->
if(frm.giftFlag.value==1){
if(frm.giftName1.value=="" && frm.gift.checked){
frm.giftCd.value=frm.giftCd2.value;
}else if (frm.giftName2.value=="" && frm.gift.checked){
frm.giftCd.value=frm.giftCd1.value
}else{
if(frm.gift[0].checked){
frm.giftCd.value=frm.giftCd1.value;
}else if(frm.gift[1].checked){
frm.giftCd.value=frm.giftCd2.value;
}
}
}
frm.submit();
}
}
</script>
<html:form action="DmrApplicationConfirm.do" method="post" οnsubmit="return validateDmrApplicationConfirmForm(this);">
<html:button property="sbumit" value="確認をする" οnclick="javaScript:toDmrApplication();"></html:button>
暂时就用到这几种,这也是常用的方法,应该还有,希望探讨!
另补三则:
1. <a href="<%=Con_Path %>/DmrList.do"><img src="<%=Con_Path %>/img/dmr/user/btn_next_back.gif" alt="一覧へ戻る" width="177" height="31" border="0"></a>
2. <a href="javaScript:toDmrApplication();"><img src="<%=Con_Path %>/img/dmr/user/btn_next_kakunin.gif" alt="確認する" width="177" height="31" border="0"></a>
3.<a href="javaScript:history.back();"> 或者<input type="button" class="btn" value="修正する" onClick="history.back()">