• Post Reply Bookmark Topic Watch Topic
  • New Topic

calling methods on bean object in jsp using struts2 tags or OGNL  RSS feed

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

i have a collection (an arraylist) in action class in which i m storing java mail api's Message class objects.

In jsp i want to access each message from this collection and wants to call msg.getFrom(),msg.getSubject() etc. to display them in tabular form.

how to call methods on collection objects from jsp using struts2 tags or OGNL.

thanks...
 
If you like strawberry rhubarb pie, try blueberry rhubarb (bluebarb) pie. And try this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!