1. struts.xml中添加 <constant name="struts.ognl.allowStaticMethodAccess" value="true"></constant>
此步骤不一定需要
2. 调用 <s:text name="%{@com.laoer.bbscs.comm.BBSCSUtil@filterText(#note.noteContext,true,false,true)}"></s:text>
1. struts.xml中添加 <constant name="struts.ognl.allowStaticMethodAccess" value="true"></constant>
此步骤不一定需要
2. 调用 <s:text name="%{@com.laoer.bbscs.comm.BBSCSUtil@filterText(#note.noteContext,true,false,true)}"></s:text>