• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to print values

 
Krishna Attravanam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an arraylist in a bean ... how do i print the values from of the arraylist from a bean ??

I am a lil stuck there

Thanks
Krishna
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using which web framework?
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you use struts , you can use logig tag to iterate collection of data.

Example

1. in java class


2. in jsp page



This will help you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic