MS access « Connection « JSP-Servlet Q&A





1. shopping cart -MS Access & JSP Connections    coderanch.com

Can one of you bright sparks help me out. Connecting to MS Access database and have problems with connection using JSP. This is the code, errors follow: <%@ page language="java" contentType="text/html" import="ShoppingBasket,Product,java.util.*" errorPage="errorpage.jsp"%> Your Order Has Been Received <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc dbc:Novbase","",""); String query = "INSERT INTO Customer VALUES ('',?,?,?,?,?,?,?,?,?,?,?)"; ...