Added struts2 hasMessages