struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfredo Manuel Osorio Martinez <>
Subject Custom error message per converter
Date Wed, 22 May 2013 22:11:45 GMT

Is it possible to configure a custom error message per converter?

For example I have this in my

Whenever a Date conversion fails in any action I'd like to show a message like this:
Incorrect format, expected mm/dd/yyyy

I don't want to define a custom message per property as mentioned in the documentation:

"However, sometimes you may wish to override this message on a per-field basis. You can do
this by adding an i18n key associated with just your action ( using the
pattern, where xxx is the field name."

Alfredo Osorio

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message