aspose file tools*
The moose likes Struts and the fly likes How to print values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to print values " Watch "How to print values " New topic
Author

How to print values

Krishna Attravanam
Greenhorn

Joined: Oct 21, 2004
Posts: 16
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
Using which web framework?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
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.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to print values
 
Similar Threads
Passing ArrayList from action to action?
Can't add to ArrayList within switch statement?
ArrayList seems to be not working
How to Get the check box in html:checkbox automatically get checked on display .
Reading Objects from ArrayList