摘要:
1.首先在struts.sml中配置<constant name="struts.ognl.allowStaticMethodAccess" value="true" />表示允许使用静态java方法。非常重要。2.在freemarker中引进java常量的方法:假如:Test.javapackage test;public class Test{private String user... 阅读全文
posted @ 2010-10-18 10:35
锐
阅读(764)
评论(0)
推荐(0)