-
Notifications
You must be signed in to change notification settings - Fork 1
/
AddressBtnPage.jsp
38 lines (32 loc) · 1.03 KB
/
AddressBtnPage.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<%@ page language = "java" import ="java.text.*, java.sql.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR" />
<title>KNU MOVIE_TEAM3</title>
</head>
<body>
<form action = "Address_fin.jsp" method="post">
<%
String serverIP = "localhost";
String strSID = "orcl";
String portNum = "1521";
String user = "university";
String pass = "comp322";
String url = "jdbc:oracle:thin:@"+serverIP+":"+portNum+":"+strSID;
//String inputid = request.getParameter("cus_id");
Connection conn = null;
Statement stmt;
Class.forName("oracle.jdbc.driver.OracleDriver");
conn=DriverManager.getConnection(url,user,pass);
%>
ÁÖ¼Òº¯°æ : <input type="text" name="changeAddress">
<br />
<br />
<input type="submit" name="finish" value="º¯°æ¿Ï·á" />
<input type="button" name="close" value="´Ý±â" onclick="window.close()" />
</form>
</body>
</html>