In my application, which uses struts, the javascript refers to window.document.frmReset.pin.value where frmReset is the name of the form. But since I am using Struts I cannot use the Name attribute for the form. So how do I rewrite the javascript? Or can I specify the name of the form while using <html:form>
If you don't specify a name in the html:form tag, the name of the form will be the name of the actionForm associated with the action in the struts-config.xml file. It's easy to see what name struts has given the form by using the "view source" function of your browser when the page is being displayed.