I believe in the erros tag you need to do something like this...
errors.add( (ActionErrors.GLOBAL_ERROR,
new ActionError("error.exception"));
The reson is that the error msg which gets send back to the user is
internationalized (i.e a user in France sees the error in fr
thank-you so much Great I appreciate it!!
-Original Message-
From: Johan Compagner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 1:19 PM
To: [EMAIL PROTECTED]
Subject: Re: please help...this doesn't want to display the exception,
is this correct?
Action
ActionError constructor wants a message key. not just a string.
you could do:
errors.add("beanErr",new ActionError("general.exception",ex.toString()));
and then have a general.exception in youre resouce bundle:
general.exception="An exception occured: {0}"
johan
- Original Message -
Fr
3 matches
Mail list logo