A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
how to access actionErrors in Struts2?
Joined: Jun 22, 2007
Jun 26, 2007 16:02:00
Can someone please help me? What might the equivalent of the following Struts1 code be in Struts2? Is there maybe a way to access the actionErrors using the [s:if] tag?
//some custom HTML code
[li][bean:write name="error" filter="false"/][/li]
//some more custom HTML code
I would appreciate any help that anyone could give.
Joined: Mar 15, 2007
Jun 28, 2007 12:44:00
i think they have action errors n field errors
It is sorta covered in the
JavaRanch Style Guide
subject: how to access actionErrors in Struts2?
How to display validation message on top of form
Errors populated in ActionMessages is not displaying
How to transport the stacktrace of an Exception from a Action to a Error-JSP?
Messages displayed only if I use saveErrors()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014