when you insert jsp scriptlet into  the  tag  as a value of an attribute,
the scriptlet should be bracketed by the quotation marks without anything
else inside.

2006/11/8, Pankaj Gupta <[EMAIL PROTECTED]>:

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




--
Wong Tseng
王曾

Reply via email to