Hi,
I would like to check if what I am doing is correct and comply to the struts validation framework.
I did some checking in the action class and use the following code to send the error message to the jsp.
String msg = "Error Found";
ActionMessages am = new ActionMessages();
ActionMessage msg = new ActionMessage(message, false);
am.add("error", msg);
saveErrors(request, msg);