struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shoukat, Faisal" <faisal.shou...@northgate-is.com>
Subject ???en_GB. in errors
Date Thu, 04 May 2006 13:11:32 GMT
Hi,

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()));
saveErrors(request, errors);

When it displays the error on the jsp it displays the following

???en_GB.This form is invalid.???

How do I get rid of the ???en_GB. And ??? in the error.  All I want to
display is the This form is invalid.

Because it is an application exception and could be a number of things I
have not added anything to the message resources bundle

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message