<%@ page language="java" import="java.sql.*" contentType="text/html; charset=UTF-8"
|
pageEncoding="UTF-8"%>
|
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<title>Insert title here</title>
|
</head>
|
<body>
|
|
<%
|
//连接数据库
|
String ip="localhost";
|
String driverClass = "com.mysql.cj.jdbc.Driver";
|
String url="jdbc:mysql://"+ip+"/gmms?serverTimezone=GMT%2B8";
|
String user = "root";
|
String password = "beibo.123/";
|
String url1 = "jdbc:mysql://"+ip+"/gmms";
|
|
String urlglass="jdbc:mysql://"+ip+"/mesgglass?serverTimezone=GMT%2B8";
|
String url3="jdbc:mysql://"+ip+"/glog?serverTimezone=GMT%2B8";
|
|
/* localhost:3307 */
|
/* 192.168.20.42 */
|
%>
|
</body>
|
</html>
|