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