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 5961211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:56:00+00:00 2026-05-22T18:56:00+00:00

My project is using hibernate 3.4.0 GA to access database, and Spring MVC 2.5.6

  • 0

My project is using hibernate 3.4.0 GA to access database, and Spring MVC 2.5.6 to handle web request and jsp(jstl) to render view(web page).

I get an entity list from database, by hibernate, and add it as model into modelmap for jsp.When jsp rendering my webpage, it throws a “javax.el.PropertyNotFoundException”.

javax.el.PropertyNotFoundException: Property ‘timestamp’ not found on type java.lang.String

and the exception comes from:

<c:forEach var="statusHistory" items="statusHistoryList">
    ${statusHistory.timestamp}
</c:forEach>

It seems like that “statusHistory” is considered as a String, but not an object.

The “StatusHistory” class has “timestamp” property and the getter method:

public Class StatusHistory{
    ...
    private Date timestamp;
    public Date getTimestamp(){...}
    ...
}

I have searched on google for one whole day. Some post says that the getter method is not following the convention. But it seems it’s not my case.
can some one please help me?

Thanks in advance
Andrew

  • 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-05-22T18:56:00+00:00Added an answer on May 22, 2026 at 6:56 pm

    Here,

    <c:forEach var="statusHistory" items="statusHistoryList">
    

    You’re supplying the items attribute of <c:forEach> with a plain vanilla String with a value of "statusHistoryList" which in turn indeed doesn’t have a getTimestamp() method.

    You need to reference it using an EL expression ${...} instead.

    <c:forEach var="statusHistory" items="${statusHistoryList}">
        ${statusHistory.timestamp}
    </c:forEach>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While working on a Spring 3 MVC project using Hibernate, we encountered an annoying
I am developing project using Spring , Struts2 & Hibernate . Now I want
I am trying to develop a .NET Web Project using NHibernate and Spring.NET, but
I'm hesitating between two designs of a database project using Hibernate. Design #1. (1)
In my web app,I am using hibernate and hsqldb for database operations..and use Ant
I have a Spring project using Hibernate. The DB is generated based on the
I have created a Spring 3 + Hibernate project using Maven in Eclipse. How
I am using Spring with Hibernate in my project.There are many methods written in
I am setting up a project using Hibernate 3.3.1 GA and PostgreSQL 8.3 .
I am a Java programmer and was working on a project using Hibernate and

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.