Hi,
I was having trouble with a
struts page using a javabean Tartanpion containing the following property and getter and setter
the
jsp page was throwing an exception :
javax.servlet.jsp.JspException: No getter method for property pRoperty of bean tartanpion
with the following getter and setter it works ok
I thought that the rule to write a getter and a setter method was :
get + name of the property (with the first letter of the property in capital)
set + name of the property (with the first letter of the property in capital)
so what's the rule to write getter/setter ?
btw : the code generation of IDEA and JBuilder does not give the same result :
for the property tOto
IDEA : gettOto()
JBuilder : getTOto()
who is right ?