| Author |
org.apache.jasper.JasperException: Cannot find any information on property 'EmpID' in a bean of type
|
victor chiong
Ranch Hand
Joined: Apr 04, 2012
Posts: 73
|
|
Hi Guys,
I'm stuck.. been 3 hours and i could not run this... damn... so noob. I could not understand why getproperty could not get the value of EmpID... (Cannot find any information on property 'EmpID' in a bean of type)
|
 |
James Boswell
Ranch Hand
Joined: Nov 09, 2011
Posts: 657
|
|
I'm going to take a guess at this one:
Change your EmpID to empID in Employee class:
I think it is not working because using a property name EmpID does not follow Java conventions (should start in lowercase).
|
 |
victor chiong
Ranch Hand
Joined: Apr 04, 2012
Posts: 73
|
|
Hi,
I change it to small caps no longer an error but the empID value is null.....
weird...
regards,
Vic
|
 |
victor chiong
Ranch Hand
Joined: Apr 04, 2012
Posts: 73
|
|
It is now okay dude.. Super thanks :)
it is null because the parameter i set is string employee not String empID
|
 |
 |
|
|
subject: org.apache.jasper.JasperException: Cannot find any information on property 'EmpID' in a bean of type
|
|
|