Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

Listing an Objects elements.

 
laura mccord
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Report post to moderator
Is there a way to list an object's elements (or keys) in jsp? The object is not a hashmap but just a pojo. I wanted to display the objects elements(variable names) dynamically along with the values stored for those elements.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hey there... it's a tad unfriendly to post same question in multiple forums or more than once. It can waste the time of the people who are trying to help you when multiple redundant conversations take place. You can read more about this at this link ⇒ CarefullyChooseOneForum ⇐. Please help us keep the Ranch a friendly place by not posting multiple times. Thanks!
 
    Bookmark Topic Watch Topic
  • New Topic