Is there any way to validate information across two fields in Struts2? For example, lets say I want to enforce the rule fieldX must be less than fieldY. Is there any way to add an XML rule that says this?
You *can* do pretty much anything with the expression validator, although anything more complicated than simple comparisons etc. may be better off inside a validate() method. Note that manual and XML- or annotation-based validation can work in concert w/ a call to super.validate().