How to change the format of java.util.Date object in struts 2. What I have tested, Struts 2 accepts m/d/yy. Is it possible to change the format?

And also how to change the default message "Invalid field value for field date"?

date tag in struts2 can only be used in output.