load table data on jsp using struts2 with fixed table structure
- by Zahra
Hi.
I want to have a fixed table structure on my jsp page(3row, 4column). but I want to load data for this table from DataBase with using struts 2. I know if my table structure wasn't fixed I could have just get a List and iterate on it and add a data in every iteration, but how could I do this in this case.
also if I don't have enough data to fill table, I want those places to be empty.
I didn't find a good example, if you could help me or introduce me a good tutorial, it would be really appreciated.
Thanks in advance.