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

  • Home
  • SEARCH
  • 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 868141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:05:33+00:00 2026-05-15T10:05:33+00:00

I get the following error when I run my java ee app on weblogic,

  • 0

I get the following error when I run my java ee app on weblogic,

javax.servlet.jsp.el.ELException: Cannot find PropertyDescriptor for ‘name’ for bean ‘class java.lang.String’

I want to print a list of artists with the following class,

    public class Artist {
    private int id; 
    private String name;
    private String genre;

    public Artist() {

    }
    public Artist(String name){
        this.name=name;
    }
    public void setId(int id) {
        this.id = id;
    }   
    public int getId() {
        return id;
    }
     public void setName(String name) {
        this.name = name;
    }
     public String getName() {
        return name;
    }
     public String getGenre() {
        return genre;
    }
     public void setGenre(String genre) {
        this.genre = genre;
    }
}

The following lines of code seem to be causing the problem because when I remove it I don’t get the error anymore.

<c:forEach items="artists" var="artist">
    <c:out value="${artist.name}"></c:out><br/>
</c:forEach>

When I use PrintWriter to print, it works:

for (Artist artist:artists){
    resp.getWriter().println(artist.getName());
}

I am using java ee 2.4 and weblogic 9.2

  • 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-15T10:05:34+00:00Added an answer on May 15, 2026 at 10:05 am

    Take a look at the value of the items attribute of the <c:forEach> tag – it’s a string literal, not an EL expression. In other words, this should work:

    <c:forEach items="${artists}" var="artist">
        <c:out value="${artist.name}"></c:out><br/>
    </c:forEach>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 501k
  • Answers 501k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer With SQL 2008 you have the new data time DATETIMEOFFSET… May 16, 2026 at 2:16 pm
  • Editorial Team
    Editorial Team added an answer It is __init__.py not init.py. Make sure each of the… May 16, 2026 at 2:16 pm
  • Editorial Team
    Editorial Team added an answer In your forEach loop, check if the Customer in your… May 16, 2026 at 2:16 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm getting the following error when I run my app on Eclipse development environment,
I'm trying to launch a Java app from a C++ app using the following
I'm trying run a simple Java/MySQL web app tutorial in NetBeans. I am able
When trying to start up my Android AVD emulator, I get the following error
I am trying to port an android app to run on a blackberry 8800.
I'm trying to run a GWT unit test in a sample app. I ran
I can't get my Junit tests to run from my build.xml script. I feel
This is a very weird problem. My app that runs just fine but somehow
I'm working on a web application written in Java using the Tapestry 5.1.0.5 framework.
I am following the instructions here for cross-compiling GCC. I am on a mac.

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.