Hi Friends,
Im trying to develop a CRUD application using
JSP's and javabeans , as a start to that I have to use a jstl tag to populate a dropdown box from the database . Im using 2 bean classes and the list is loaded from a particular table. Im trying to store the values that i obtain from the query into a list and then retreive them . Im relative newbie to programming so any help would be appreciated.Thanks!!
My DAO Class.
JSP file.
My error is..
SEVERE: Servlet.service() for
servlet jsp threw exception
org.apache.jasper.el.JspPropertyNotFoundException: /Main.jsp(16,8) '${domaintype.dtList}' Property 'dtList' not found on type com.jspcrud.dao.DAO
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:104)
at org.apache.jsp.Main_jsp._jspx_meth_c_005fforEach_005f0(Main_jsp.java:124)
at org.apache.jsp.Main_jsp._jspService(Main_jsp.java:96)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
Any help would be much appreciated .