Some quick tips
To uninstall a service and remove the entries from Registry use following command:
sc delete <servicename>
To submit a form in Struts and open the result in new window:
$("#myButton").click(function() {
var url = this.href + "?" + $('#myForm').formSerialize();
window.open(url, "_blank");
return false;
});
<s:form id="myForm">
.....
</s:form>
<s:url id="urlToopen" action="submitForm"/>
<a id="myButton" href="${urlToopen}" > Click to see</a>
Comments
Post a Comment