wood burning stoves 2.0*
The moose likes Java in General and the fly likes Listing an Objects elements. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Listing an Objects elements.

laura mccord
Ranch Hand

Joined: Feb 10, 2009
Posts: 108
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

Joined: Jan 10, 2002
Posts: 61424
    
  67

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!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Listing an Objects elements.