Up to ValidatorFaq


Question

 I'm little bit confused about using validator framework.

 In struts 1.1 beta 3 release, do I need to keep struts-validator.tld
 file under WEB-INF folder ?

Answer

There is no struts-validator.tld. The definition for <html:javascript> is found in the struts-html.tld. I you are using a Servlet 2.3/JSP 1.2 Container you don't need the tld's because the container can find them in the struts.jar. For 2.2/1.1 the web.xml says where to find the tld files.

Also, PLEASE, upgrade to Struts 1.1 Final, or the latest release. A number of bugs were fixed with validation, which save you much time and agony !!!


Up to ValidatorFaq

ValidatorJavaScriptTld (last edited 2009-09-20 23:48:18 by localhost)