Validator - html:javascript

question: what is wrong, if <html:javascript> only renders the javascript-code, but not the enclosing <script> </script> tags?

answer: You have used a value in the "formName" attribute of html:javascript which is not in the Validator configuration file. In Struts 1.1, this produces exactly the results you see. After Struts 1.1, this throws a JSPException instead.

ValidatorFAQ (last edited 2009-09-20 23:12:18 by localhost)