1 / 13

專題報告    機密文件線上存取系統

專題報告    機密文件線上存取系統. 指導老師 : 溫翔安 教授. Index.jsp. function pass() { document.applet.onSendData(document.a.ccname.value,document.a.ccpw.value); }. <APPLET name=applet code=EchoApplet.class WIDTH=0 HEIGHT=0>. servlet. public static void connection(){ try {

shirin
Télécharger la présentation

專題報告    機密文件線上存取系統

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 專題報告   機密文件線上存取系統 指導老師:溫翔安 教授

  2. Index.jsp function pass() { document.applet.onSendData(document.a.ccname.value,document.a.ccpw.value); } <APPLET name=applet code=EchoApplet.class WIDTH=0 HEIGHT=0>

  3. servlet public static void connection(){ try { Class.forName("com.mysql.jdbc.Driver"); } catch (Exception e) {} } ResultSet rs1 = stmt1.executeQuery("select accno from account"); String url = "jdbc:mysql://localhost/report"; String root = "stu"; String password = "Vbav8Ypbjnh8ETGU"; Connection con1 = DriverManager.getConnection(url, root, password); Statement stmt1 = con1.createStatement();

  4. ResultSet rs1 = stmt1.executeQuery("select accno from account"); if(rs1.next())

  5. ENDING 感謝大家的觀賞~

More Related