set the value in hidden field/pass to JS function/set JD param to value of hidden field ..example located at http://javaboutique.internet.com/tutorials/strutstand/index-2.html
Anyone else? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents ----- Original Message ----- From: "Pankaj Gupta" <[EMAIL PROTECTED]> To: <user@struts.apache.org> Sent: Wednesday, November 08, 2006 12:06 AM Subject: How to pass Java parameter to javascript > Hi All, > > I am unable to pass a java parameter to a javascript method. Can you > please tell whats going wrong. Here is my code: > <html:submit property="submitType" onclick="setFile('<%= > ((FileInstance)nmeFile).getFileName() %>', this.form);" > > > regards, > Pankaj