Re: struts/javascript challenge

2007-04-14 Thread Frank W. Zammetti
onsubmit needs to be all lower-case, you have it written OnSubmit. Any time you get an exception saying an attribute is invalid for a tag, the TLD is the first thing you should look at, make sure the attribute is specified for the tag and that you wrote it exactly as it appears there, case and

Re: struts/javascript challenge

2007-04-14 Thread Musachy Barroso
The attributes are case sensitive, so you have to used them as they are specified in the docs, try "onsubmit" instead. regards musachy On 4/14/07, john lee <[EMAIL PROTECTED]> wrote: I am new to struts, how can I use client javascipt inside html:form ? when i run my test.jsp with html:form

struts/javascript challenge

2007-04-14 Thread john lee
I am new to struts, how can I use client javascipt inside html:form ? when i run my test.jsp with html:form and javascript, and get following error, what is that mean ? tks everyone's help in advance. john org.apache.jasper.JasperException: Attribute OnSubmit invalid for tag fo