File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

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.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Listing an Objects elements.
It's not a secret anymore!