GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP

 Print  |  
Question:  I have written a jsp program with database connectivity.When i am starting the j2ee server after copying the jsp file in public_html folder and invoking my jsp page, it is giving the error as No suitable driver.Whats the problem with my code? Here is my code


JSP JDBC Example

<%@ page language=\




March 03, 2006 01:06:23 #1
 vmshenoy   Member Since: October 2005    Total Comments: 106 

RE: I have written a jsp program with database connect...
 

see i think u might have not included the driver .

I f u want to use MICROSOFT ACCESS DB

then first of all make a table in the db.(the table should match the name u hvae written in coding i.e select * from login  etc)

Then go do admin tools,go to ODBC then click user dsn, add MICROSOFT ACCESS DRIVER , give the data source name and selct the db.

     

 

Back To Question