显示从数据库中的数据,我有一个问题,当我运行page.jsp:问题在JSF
Exception while calling encodeEnd on component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /compteListe.jsp][Class: javax.faces.component.html.HtmlDataTable,Id: j_id_jsp_1879226420_1][Class: javax.faces.component.UIColumn,Id: j_id_jsp_1879226420_2][Class: javax.faces.component.html.HtmlOutputText,Id: j_id_jsp_1879226420_4]}
造成的:
org.apache.jasper.el.JspPropertyNotFoundException - /compteListe.jsp(29,13) '#{l.Identifiant}' Property 'Identifiant' not found on type com.bankonet.bean.Compte
但是当我做System.out.println (rs.getString (1));
...,它运行良好并显示数据!
thx!它运作良好! – V4Vendetta 2011-05-30 19:03:56
不客气。 – BalusC 2011-05-30 19:10:57