Hi All,
Recently I got to know that if u run ur Queries directly in ur JSP, well it is a design flaw. JSP's are ment to provide only the presentation logic. That means i had to shift all the Funtional logic to beans.
Till here it is cool. The problem that i am facing is if u execute a query in a bean and get a resultset, suppose u get 10 records. U can iterate over then on the bean side...but how do u iterate over then on the jsp side for displaying them.
Any code example would be really appriciated.
Thankx in advance
Kunal
Recently I got to know that if u run ur Queries directly in ur JSP, well it is a design flaw. JSP's are ment to provide only the presentation logic. That means i had to shift all the Funtional logic to beans.
Till here it is cool. The problem that i am facing is if u execute a query in a bean and get a resultset, suppose u get 10 records. U can iterate over then on the bean side...but how do u iterate over then on the jsp side for displaying them.
Any code example would be really appriciated.
Thankx in advance
Kunal