my dog learned polymorphism*
The moose likes JSP and the fly likes org.apache.jasper.JasperException: Cannot find any information on property 'EmpID' in a bean of type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "org.apache.jasper.JasperException: Cannot find any information on property Watch "org.apache.jasper.JasperException: Cannot find any information on property New topic
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
Bartender

Joined: Nov 09, 2011
Posts: 1012
    
    5

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.apache.jasper.JasperException: Cannot find any information on property 'EmpID' in a bean of type
 
Similar Threads
Need help with a small java tutorial.
Concrete class problem in EL
Unable to get property values using jsp:getProperty
How can we set integer or other type values in standard action jsp:useBean...jsp:setProperty?
jsp:useBean doubt