Tag:JSP connection to access database

  • JSP connection to access database

    Time:2021-10-22

    1、 Establish database and ODBC data source 1. Establish jcc.mdb database and user table      2. Add test data3. Configure ODBC data source 2、 Under <% wwwroot% > /, create a new access database connection file select.jsp The source code of select.jsp is as follows: <%@page contentType=”text/html;charset=gb2312″%> <%@page import=”java.sql.*”%> <html> <body> <% try{   Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver”); } catch(ClassNotFoundException e){   out.print(e); } […]