訪問字符串變量:<@資源路徑+變量>;
訪問方法:<@資源路徑+方法名>;在struts.xml配置中<constant name="struts.ognl.allowStaticMethodAccess" value="true"></constant> 即可;
訪問字符串變量:<@資源路徑+變量>;
訪問方法:<@資源路徑+方法名>;在struts.xml配置中<constant name="struts.ognl.allowStaticMethodAccess" value="true"></constant> 即可;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。