> I have a page that is opening a new tab instead of the same tab. Since I am
> somewhat new to jquery, ajax and struts, I'm wondering if someone can help me.
>
>
> I have this in my jsp:
>
> function continueToNext() {
> document.getElementById("payByCheck").value = payByCheck;
> $('#StatusMessage').html("<img src='web/images/busySmall.gif'>");
> document.getElementById("button_next").disabled = "disabled";
> document.getElementById("next1").disabled = "disabled";
> var url = "<s:url value="renewsave.action" encode="true"/>";
> document.regSubmitForm.method ="POST";
> document.regSubmitForm.action = url;
> document.regSubmitForm.submit();
> }
>
> <center><input id="button_next" class="button" type="button" value="Next"
> name="button_next" onclick="continueToNext()"/></center>
> <center><input id="next1" class="button"
> type="button" value="Next" name="next1" style="display:none"
> onclick="continueToNext()"/></center>
> <div id="requirementsHelp"></div>
>
> In struts.xml:
>
> <action name="renewsave" class="gov.ca.doj.sotas.action.renew.ExtRenewSave">
> <result
> name="success">/WEB-INF/jsp/renewSaveESignature.jsp</result>
> <result name="InternalRenew">/WEB-INF/jsp/renewSave.jsp</result>
> <result
> name="renewEsignProc">/WEB-INF/jsp/eSignRenewProcReview.jsp</result>
> <result name="renewSave1">/WEB-INF/jsp/renewSaveEPay.jsp</result>
> <result name="renewSave2">/WEB-INF/jsp/renewSave.jsp</result>
> <result name="input">/WEB-INF/jsp/renewReview.jsp</result>
> <result name="error">/WEB-INF/jsp/sotasExternalHome.jsp</result>
> </action>
CONFIDENTIALITY NOTICE: This communication with its contents may contain
confidential and/or legally privileged information. It is solely for the use of
the intended recipient(s). Unauthorized interception, review, use or disclosure
is prohibited and may violate applicable laws including the Electronic
Communications Privacy Act. If you are not the intended recipient, please
contact the sender and destroy all copies of the communication.