Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

Up to ValidatorFaq


Question

No Format
 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