Hi All, I have not worked much with jetty so not sure if my approach is correct or not. I am testing my application and few validation use cases on Jetty, though validation is working correctly but when it come to resolve those error messages with underlying Resource bundle its not working correctly
I have following property in my action class @NotBlank(message="not.blank") private String name; I have one property file with same name as my action class and in same directory with following entry not.blank=Field can not be empty This is how i am trying to get value against key in my code ValidatorContext validatorContext = new DelegatingValidatorContext( action ); message = validatorContext.getText(key); here key being passed is "not.blank", but it is unable to get any value for given key. I tested same example with tomcat and everything is working fine Do i need to add anything extra in Jetty configuration? I am using org.mortbay.jetty plugin for Maven -- With Regards Umesh Awasthi http://www.travellingrants.com/