I am creating a webapp using JSTL - desperately trying not to use Java code and scriptlets.
My site is a football site where I enter a fixture and the players names who took part (11-13 names)
I have a players table containing all of the players names.
I need to populate a dropdown menu with all of their names and repeat this code 13 times (13 drop down menus with the same list)
I obviously don't want to write 13 bits of code for this.
Very basic Pseudo code elsewhere might look like...
String playerDropDown = getPlayersFromDB();
print playerDropDown;
print playerDropDown;
print playerDropDown;
print playerDropDown;
print playerDropDown;
print playerDropDown;
print playerDropDown;
...
...
Any advice/guidance is appreciated.
sqltag.