A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
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
I agree. Here's the link:
subject: how to access actionErrors in Struts2?
How to transport the stacktrace of an Exception from a Action to a Error-JSP?
Messages displayed only if I use saveErrors()
How to display validation message on top of form
Errors populated in ActionMessages is not displaying
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014