• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I display the first item from a Hibernate set in JSTL?

Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm using Spring 3.1.1.RELEASE, Hibernate 4.1.0.Final, and JBoss 7.1.3 AS. I have a Hibernate entity with this field …

I would like to reference the first address in the field and so through JSTL I tried doing this:

However I get the exception …

Is it possible to access the first address object? Thanks, - Dave
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!