I'm going to insert to sql query in ms access database. But when i submit the details tomcat shows an following error message :
type Exception report
description The server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 22 in the jsp file: /jsp/fare.jsp
String literal is not properly closed by a double-quote
22: String qry = "insert into fare(trainno,tdate,sourcestation,destinationstation,classcat,agecat,concission)
25: Connection con = DriverManager.getConnection("jdbc:odbc:Database1");