67,513
社区成员
发帖
与我相关
我的任务
分享
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
// ① Connection conn = new SqlConnection().getConnection();
Connection conn = SqlConnection.getConnection(); //②如果将这个getConnection()方法定义为static,在多线程下这样子获取连接是否会有线程问题
}