Home > Back-end >  The JDBC connection database closed flow problem
The JDBC connection database closed flow problem

Time:09-26

JDBC connection database, try it with the response. SendRedirect (" "); Point to a certain path, then in the finally close the connection, preparestatement, resultSet flow, please do so, flows shut down? Is the first response. SendRedirect (" ") to jump to path or shut off flow?

CodePudding user response:

Can the debug test

CodePudding user response:

Flows off, like is like a function has a return, the return is a try catch the finally package, before the return, will perform final blocks, and then in return!
  • Related