wood burning stoves 2.0*
The moose likes JSP and the fly likes  Cannot find any information on property in a bean of type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark " Cannot find any information on property in a bean of type " Watch " Cannot find any information on property in a bean of type " New topic
Author

Cannot find any information on property in a bean of type

Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

Hi All,
Im faced with the following error in my code .
Cannot find any information on property 'StatusActive' in a bean of type 'com.jspcrud.bean.DomainBean'
at org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.java:839)
at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1066)
at org.apache.jasper.compiler.Node$GetProperty.accept(Node.java:1124)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417).
I've cjhecked and rechecked my jsp and bean class to see if the names of the bean match, however the error is still present.
im placing my jsp and bean class below. Please have a look and tell me where I could be going wrong.
Thanks


My bean Class.

Thanks for helping.


Learning and Learning!-- Java all the way!
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1018
According to java bean standards/requirements, names for attributes must start with a lower case letter.

Change your attribute "StatusActive" on your JSP page to "statusActive"


Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

Yes i did change it according to the code convention to the way you have specified , yet the value of the checkbox isnt being populated .
This is my code.


Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

Hi , there was a name mismatch and so the error.
Thanks for helping!
Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

yes it was resolved. Thanks Bear,will mark as resolved in the future
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot find any information on property in a bean of type