Copy the code into your your JSP DIrectory under /usr/local/etc/httpd/htdocs/html/LOGIN. You will need to change the xxxxxx of "con=DriverManager.getConnection["jdbc:mysql://localhost/"+db,user,"xxxxxxx"] " to reflect your MySQL password. Copy the HTML form above to the same DIrectory above or to your public_html DIrectory and use it connect to your database via the JSP code. Replace the test418 with your database name and the URL with your JSP URL.
標簽:
your
DIrectory
htdocs
LOGIN
上傳時間:
2017-03-26
上傳用戶:zq70996813