You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "Sarath Bethapudi ( Consultant )" <sa...@autodesk.com> on 2003/10/24 20:40:57 UTC
printing errors from a Struts Action
I am trying to send an ActionError from my Action class to a Velocity
page.
The code in the Action Class is as follows,
ActionErrors erorrs = new ActionErrors();
erorrs.add("invalidlogin", new
ActionError("error.security.invalidlogin"));
saveErrors(request, erorrs);
on the velocity page I tried the following approaches
$!errors.msgs
I am still unable to get the message populated on the screen. Please
help :-(
best regards,
Sarath Babu