Description: 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.
- [jsp] - JSP test system, database MYSQL ultra-co
File list (Check if you may need any files):
JSP-Database
............\examples
............\........\BatchUpdateExample.jsp
............\........\CallableStatementExample.jsp
............\........\data.sql
............\........\ExecuteExample.jsp
............\........\images
............\........\IrishComposers.jsp
............\........\MDForm.html
............\........\MetaDataExplorer.jsp
............\........\over90.csv
............\........\PreparedStatementExample.jsp
............\........\QueryExample.jsp
............\........\ScrollableResultSetExample.jsp
............\........\ShowDept.jsp
............\........\UpdateExample.jsp
............\WEB-INF
............\.......\build.xml
............\.......\src
............\.......\...\com
............\.......\...\...\jspcr
............\.......\...\...\.....\jdbc
............\.......\...\...\.....\....\tools
............\.......\...\...\.....\....\.....\MetaDataEvaluator.java
............\.......\web.xml