Donate Share

Useful Java Application Components

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Need help regarding print-table tag

You are viewing a single message from this topic. View all messages.

  1. 2009-06-05 07:55:10 UTC
    Hi

    My requirement: to print data from database.
    problem:

    I am facing while printing the data.

    Problem scenario: As of now, I am printing the data coming from database as it is. It looks like follows:

    countyId: Indicates country id.
    states: the states that comes under the country
    locations: count of locations that are part of the state.

    countryId states locations
    1 oklahama 125
    1 Northdacota 253
    1 southAlabama 167
    2 AP 156
    2 TN 15
    3 KT 131

    Actually I need to print the data as follows:

    countryId states locations
    1 oklahama 125
    Northdacota 253
    southAlabama 167
    2 AP 156
    TN 15
    3 KT 131

    The tag I am using is as follows:

    <print-table sequence="${xx}" loop-variable="yy">
    <print-row/>
    </print-table>

    Is it possible to print the data using <print-table>?

    Thanks in advance:)

    Regards,
    Chinni




< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.