Home > Back-end >  JSP pages in the first page of several positions did not display the data on the next page
JSP pages in the first page of several positions did not display the data on the next page

Time:10-06

Java. SQL. SQLException: Illegal operation on empty result set.

CodePudding user response:

Does look at the data itself is only one page, make a decide whether the query in query data to the data, it is this line only see things that

CodePudding user response:

reference 1st floor Silly_Monkey response:
does look at the data itself is only one page, make a decide whether the query in query data to the data, it is this line only see things that
if you don't is can display the whole page, page later

CodePudding user response:

Look at your page is to use what, paging, roughly divided into two kinds, one kind is the logical paging, one is physical paging, logical page is one-time query all data from a database and then implemented in the code page shows that physical paging is every time you want to display content from a database query, such as the number of pages and page number as a parameter to the SQL statement, see you this fault may be physical page, you can see the back-end code, or the error log out to get a copy

CodePudding user response:

Basically is to see how you deal with the data, this approach has to do with you,

CodePudding user response:

The illegal operation of the result set, the resultSet is a problem with the parsing code

CodePudding user response:

reference Silly_Monkey reply: 3/f
look at your page is to use what, paging, roughly divided into two kinds, one kind is the logical paging, one is physical paging, logical page is one-time query all data from a database and then implemented in the code page shows that physical paging is every time you want to display content from a database query, such as the number of pages and page number as a parameter to the SQL statement, see you this fault may be physical page, you can see the back-end code, or make an error log out a
has been solved... I query variables with no value to the second page

CodePudding user response:

Well, remember to put the error log post more next time to ask questions, to solve quickly
  • Related