Horizontal representation in JSP page

View: New views
1 Messages — Rating Filter:   Alert me  

Horizontal representation in JSP page

by Tokajac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,


In database i have the table filled like:
[CODE]
col1 col2 col3 col4 col5
25-TK-BJ 1234 1234 23 34
30-65-BJ 5 6 45 46
156-TGH 43 42 65 66
[/CODE]

and i want to fill the JSP page with "horizontal columns":
[CODE]
25-TKBJ 30-65-BJ 156-TGH
1234 5 43
1234 6 42
23 45 65
34 46 66
[/CODE]

How is this possible with struts and taglibs framework?

For, normal, vertical columns i used:
[CODE]
<c:if test="${list != null }">
<display:table id="booking" name="list" partialList="true" size="${list.fullListSize}" pagesize="${list.objectsPerPage}" style="width:100%">

</display:column> ${booking.bookingID} </display:column>
...
...

</display:table>
</c:if>
[/CODE]


Regards