Struts2中,使用FreeMarker如何取得ActionMessage?
wolf_cyj
2010-01-16
<#if hx_errors?has_content>
<div class="Problem" id="errorMessages"> <#list hx_errors as error> ${error}<br /> </#list> </div> </#if> <#if hx_messages?has_content> <div class="Confirm" id="successMessages"> <#list hx_messages as msg> ${msg}<br /> </#list> </div> </#if> |