RE: please help...this doesn't want to display the exception, is this correct?

2001-05-09 Thread Nanduri, Amarnath
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

RE: please help...this doesn't want to display the exception, is this correct?

2001-05-09 Thread Dudley [EMAIL PROTECTED]
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

Re: please help...this doesn't want to display the exception, is this correct?

2001-05-09 Thread Johan Compagner
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