After having updated struts2 from 2.3.16 to 2.3.32(fix the S2-045), the JSP file can not resolve some Objects' fields

前端 未结 1 979
南旧
南旧 2020-12-20 08:07

Recently we fixed the struts2\'s \'S2-045\' problem.I updated all the struts2 related jar files including freemarker, ognl

相关标签:
1条回答
  • 2020-12-20 08:38

    You need to use getters/setters in the following format. Properties with only one starting lowercase letter are not uppercased.

        public String getfTitle() {
            return fTitle;
        }
    
    
        public void setfTitle(String title) {
            fTitle = title;
        }
    
    0 讨论(0)
提交回复
热议问题