Hi All, Seems this is a constant area of irritation. I am attempting to put an error message into the ActionMessage in an Action Class and redisplay this on a JSP page. This application is using tiles and is located in a Struts Module. Seems simple enough, but I can't get the darn thing to display on the JSP.
Here is extracts from my code. Action Class: public ActionForward execute(final ActionMapping mapping, final ActionForm form, final HttpServletRequest request, final HttpServletResponse response) { ActionForward forward = mapping.findForward("fail"); ActionMessages errors = new ActionMessages(); ... errors.add("displayerror", new ActionMessage("myerror", false)); ... saveErrors(request, errors); } JSP Page: <html:form action="/myAction.do" method="post"> <html:messages id="error" property="displayerror"> <bean:write name="error" /> </html:messages> ... </html:form> I have also tried: <html:form action="/myAction.do" method="post"> <html:errors/> ... </html:form> Neither work I inspect errors on the save error line and can see the error message in the ActionMessage list, so I know it is being added to the request. I also used the false attribute to simply display "myerror" on the page to eliminate the possibilty of a properties file typo problem. Any recommendations on where to look?