I think the simplest way to understand how to do it is to download the following packages:
Download awtaglib-src.zip
Download sample.war
In the source zip look for the sample folder, there you can find the source code for the sample application, specifically check the following classes:
DataGridSampleAction -> In its loadGrid method you can find how you can prepare some prepopulated lists so the grid will use them to generate itself
SampleDAO -> It has some methos that populate the sample lists, you might want to take this class as reference and create one that does an SQL query (just using plain JDBC or any O/R framework you like)
Hope it helps
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How can i use awTagLib to fill the grid from a sql statement
I think the simplest way to understand how to do it is to download the following packages:
Download awtaglib-src.zip
Download sample.war
In the source zip look for the sample folder, there you can find the source code for the sample application, specifically check the following classes:
DataGridSampleAction -> In its loadGrid method you can find how you can prepare some prepopulated lists so the grid will use them to generate itself
SampleDAO -> It has some methos that populate the sample lists, you might want to take this class as reference and create one that does an SQL query (just using plain JDBC or any O/R framework you like)
Hope it helps
Regards