wood burning stoves 2.0*
The moose likes JSP and the fly likes Cannot find any information on property of bean 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 "Cannot find any information on property of bean" Watch "Cannot find any information on property of bean" New topic
Author

Cannot find any information on property of bean

Sharul Anuar
Greenhorn

Joined: Dec 11, 2011
Posts: 2
Hi..i need help here

I already read and try the suggestion (that i can understand) in this forum to solve this problem but still cannot encounter its solution.

This is part of my code

Java class



JSP



Bean



Error Message
org.apache.jasper.JasperException: Cannot find any information on property 'page' in a bean of type 'my_package1.NoteSet'

Hope anyone can help me..

Thanks in advance

*┬ČeLevel = noteLevel

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Please be sure to use code tags when posting code to the forums. Unformatted or unindented code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please click this link ⇒ UseCodeTags ⇐ for more information.

Properly indented and formatted code greatly increases the probability that your question will get quicker, better answers.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Welcome to the Ranch.

Cannot find any information on property 'page' in a bean of type 'my_package1.NoteSet'

That's because there isn't any property named page in the bean. Bean properties are defined by the property getters and setters, not field names.

And, the time is long long passed when anyone should be putting Java scriptlets into a JSP page. That's a very poor practice that has been discredited for almost 10 years now and is no longer acceptable.
Sharul Anuar
Greenhorn

Joined: Dec 11, 2011
Posts: 2
Thank you for your concern and explanation..i'll search another way for improvement
 
jQuery in Action, 2nd edition
 
subject: Cannot find any information on property of bean
 
Similar Threads
<jsp:useBean> example
Bean problem
jsp:useBean exception
Call JavaBean Method from JSP
Bean property problems