摘要:
目录结构: 数据库结构: 一·web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.o 阅读全文
摘要:
try(){}写法会自动关闭连接 String sql = "select password from user where name = ?"; try(Connection c = getConnection(); PreparedStatement ps = c.prepareStatemen 阅读全文