1. Your validation file name must be <actionclass>-<validation>.xml
2. your action should have getters and setters for the field against you are validating.
3. In interceptor basicStack must be above the validation & workflow interceptor in struts.xml.
4. <S:fielderror> is doesnot have a property "fieldName"
use like this
I can't take it! You are too smart for me! Here is the tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop