struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanouil Batsis <>
Subject Re: ???en_GB. in errors
Date Thu, 04 May 2006 13:28:43 GMT
Shoukat, Faisal wrote:

>I throw a application exception back to the web layer and catch it in my
>action class.  I then create a errors object with the exception as follows:
>errors.add("errors", new ActionMessage(e.getCause().getMessage()));

You need to add false as a second param to the ActionMessage 
constructor; it will tell it to use the value as is instead of trying to 
match it as a key in the application messages bundle. Check out the API!




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message