Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8095367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:06:19+00:00 2026-06-05T21:06:19+00:00

I am getting an error in JSP and I cannot figure out what is

  • 0

I am getting an error in JSP and I cannot figure out what is causing it. I have included all of the appropriate libraries and I’ve made sure to follow bean convention on uppercase/lowercase. Here’s the relevant code in the JSP:

<c:forEach items="${relevantData}" var="entry">
     <p>${entry.price}</p>
</c:forEach>

The relevantData was a List<MyData>. For the purposes of this question it is sufficent to say MyData is a class that contains a Double named price (with a Getter and Setter following the bean convention). When I try to load this page I receive the following error in the server logs (Tomcat 7.0.22):

javax.el.PropertyNotFoundException: 
Property 'price' not readable on type java.lang.Double

Why am I getting this error and how do I fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:06:20+00:00Added an answer on June 5, 2026 at 9:06 pm

    The problem was actually caused by the visibility of the MyData class. I had auto-generated the MyData class in Netbeans but I did not notice that there was no keyword public in front of the class name. This meant that by the time it got to the JSP there was no way for it to read the properties in MyData.

    I changed the type to public and the problem was solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting the following error: javax.servlet.jsp.JspException: Broken pipe Now I have seen questions/answers with
I am getting error of System.MissingMethodException after I have an optional parameter in one
I am getting following error while running a JSP page: org.apache.jasper.JasperException: jsp:getProperty for bean
I'm getting this error message in the index.jsp file Can not find the tag
I am getting the value from error.jsp to staff.jsp page. Welcome to <%= (String)request.getParameter(facilityname)%>
I'm getting the following error when trying to run a JSP. I'm using Tomcat
I am using Spring in my JSP project: I have following mapping for all
getting error while try to start service
Getting error when I tried like this: $ci =& get_instance(); $ci->db->select(CONCAT_WS(' ',users.name_first,users.name_last) AS user_name,CONCAT_WS('
Getting error while inserting values into database (SQL Server 2008) Implicit conversion from data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.