hi,
in my struts-webapplication i'm using an data-bean, which returns an
ArrayList
for every columns of an sql statement:
public List getColumn1( )
returns an List of String objects
i'm trying to use the collection-tag to display the different columns of the
sql statement:
jsp:useBean
Hi,
If you're getting the list by the getColumn1 method, the code should be:
jsp:useBean id=result scope=request
class=com.hvbsystems.sg.marvin.obj.ResultBean /
layout:collection name=result property=column1 styleClass=ARRAY
id=column1
layout:collectionItem title=Column1
2 matches
Mail list logo