aspose file tools*
The moose likes JSP and the fly likes Cannot find any information on property 'noa' in a bean of type 'pack.Op' 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 Watch "Cannot find any information on property New topic
Author

Cannot find any information on property 'noa' in a bean of type 'pack.Op'

Ankit Wasankar
Greenhorn

Joined: Oct 04, 2013
Posts: 2
I am trying to write beans that will return addition, subtraction, multiplication and division in String result; But I am getting following error..My codes are as below.. Please help me.. I'm stuck in this code..








When I call I get following error...

type Exception report

message An exception occurred processing JSP page /call_bean.jsp at line 12

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /call_bean.jsp at line 12

9: <html>
10: <jsp:useBean id="st" class="pack.Op"/>
11:
12: <jsp:setProperty name="st" property="noa" value="<%=no1%>"/>
13: <jsp:setProperty name="st" property="nob" value="<%=no2%>"/>
14:
15: <jsp:getProperty name="st" property="result"/>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

You have no getter for the property.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ankit Wasankar
Greenhorn

Joined: Oct 04, 2013
Posts: 2
Bear Bibeault wrote:You have no getter for the property.


Thanks, it solved my problem...Yeah I changed my name to my real name..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot find any information on property 'noa' in a bean of type 'pack.Op'
 
Similar Threads
Simple java bean problem
How to retrive values from the database
JasperException from non-numeric parameter value
weird error when using a java bean with my jsp
Problem with setProperty