The same way you display any other struts error in a JSP page:
<html:errors/>

Dirk Behrendt wrote:

Hello!

I my ActionClass I set a Global Error. How can I display this error in
my JSP?


ActionErrors errors = new ActionErrors(); ActionError loginError = new ActionError("error.login.failed"); errors.add(ActionErrors.GLOBAL_ERROR, loginError); saveErrors(req,errors);


Dirk





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to