Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Retriving data from database and displaying it in JSP  RSS feed

renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application, i am reading the data from the database and then displaying it in another JSP.

In program 1, i am calling the executeQuery method, which is getting the connection object and then exectuing the query.

Program 2 shows how the executeQuery method is defined.

Now the problem is, eventhough aoCRS.size() is retuning size as 1, the line is not getting executed and the it is going to the else part.
Could someone please help me on this.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!