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 french, a user in
India sees the error in Hindi etc...). 'error.exception' should be in your
properties file. Based on what you were doing, struts tries to find a msg
in your properties file (for ex.toString() ) which is not present in the
properties file. So it fails.
cheers,
Amar..
-----Original Message-----
From: Dudley Butt@i-Commerce [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 4:55 AM
To: '[EMAIL PROTECTED]'
Subject: please help...this doesn't want to display the exception, is
this correct?
} catch (Exception ex) {
ex.printStackTrace();
errors = new ActionErrors();
errors.add("beanErr",new ActionError(ex.toString()));
}