ITeye博客

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

simon_zhang · 2008-04-29 09:27 · Java那点儿东西 · 编程语言 · Markdown

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;
	....
}

这样之后就有可能找不到哦!

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。