hi,
I am a beginner to DT and having problem with my code.
Basically, I just want to create a list with few objects in the list to have the first flavor of DT.
however, it keeps giving me same error message like
========
Exception: [.LookupUtil] Error looking up property "name" in object type "org.apache.jsp._1_jsp$Item". Cause: Property 'name' has no getter method
=========
and the item class looks like the following
class Item {
private String pw;
private String name;
hi,
I am a beginner to DT and having problem with my code.
Basically, I just want to create a list with few objects in the list to have the first flavor of DT.
however, it keeps giving me same error message like
========
Exception: [.LookupUtil] Error looking up property "name" in object type "org.apache.jsp._1_jsp$Item". Cause: Property 'name' has no getter method
=========
and the item class looks like the following
class Item {
private String pw;
private String name;
}
here is my jsp code,
<%
Item m1 = new Item();
Item m2 = new Item();
m1.setPw("1");
m1.setName("john");
m2.setPw("2");
m2.setName("john2");
===========================
Any advise will be appreciated,
thanks.
FRank