Why can't the Struts tags access the properties of my beans?
Struts uses JavaBeans Introspector to discover properties of beans. Introspector is pretty picky in the way it decides whether something is a property or not. Specifically, it requires that
- Both getter and setter be declared public and non-static
- The return type of the getter be the same as the type of the argument of the setter.
So, first check if your property breaks one of these rules.