`

Unable to find a value ...using operator "."

阅读更多
javax.servlet.jsp.el.ELException: Unable to find a value 
for "Name" in object of class "com.cabletech.plan.util.TreeNode" using operator "."


javaBean 中的变量首字母不能大写,要遵守java编码规范。
public class TreeNode {
	private String id;
	private String name;
	....
}

不能写成
public class TreeNode {
	private String ID;
	private String Name;
	....
}

这样之后就有可能找不到哦!
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics