Hi John, I am very new to Struts, so my answer may not be the best solution...
In the Action.perform(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) method, you could try to pass the success message (when action sucessful) to the forward jsp page with a request or a session, something like: request.setAttribute("add_result","add customer ok!"); Then in that jsp page, you could do something like: <jsp:useBean id="add_result" scope="request" class="java.lang.String"/> and you could now display it anywhere in this jsp page such as: <h3><%=add_result%></h3>, I guess you could use different color for different types of messages. Hope it helps. Please share with me if you received other solutions... Appreciate it very much, Yanhui Yu Sr. Application Developer Information Management Pioneer Hi-Bred International, Inc Johnston, IA 50131 -----Original Message----- From: Mattos, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 11:52 AM To: 'Struts Users Mailing List' Subject: Displaying Test if <html:errors> is free of errors... Hi In a jsp, I want to display some text if there are no errors present, that is, that <html:errors> hasn't been populated with any errors in my perform() method. What's the best way to do this? John John Mattos Sr. Developer and Architect iNDEMAND 345 Hudson St. 16th Floor New York, New York 10014 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>