I solved the problem creating a list of column names, putting the list in the
session (or request) scope and then calling the jsp and using the column names
list in an <iterate> tag (Struts tag library). In this way, I can decide the
column order and also make the columns sortable.