This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am not really familiar with the JSTL SQL tags. Its a drawback of sticking with the good application architecture or in this case particularly, MVC. However, after looking at your code and using a bit of programming experience, it looks like in the former snippet it is expecting the record as an array. The elements would be in the same sequential order as they were queried. You have to manipulate the record using array index. In the latter, unlike former, it is expecting a bean object so you can manipulate values using appropriate getters instead. [ January 27, 2008: Message edited by: Adeel Ansari ]