GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 105 of 184    Print  
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=\

  
Total Answers and Comments: 1 Last Update: March 09, 2006     Asked by: sandip Kumar Samantaray 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 09, 2006 01:06:23   #1  
vmshenoy Member Since: October 2005   Contribution: 508    

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.


 
Is this answer useful? Yes | No

 Related Questions

Skill/Topic: Programming ConstructsA) None of the above B)  C)    
Latest Answer : isErrorpage attribute ...

Skill/Topic: Programming ConstructsA) Script language declarations, scriplets and expressions. B) JSP standard actions. C) JSP standard directivesD) A portable tag extension mechanism.  
Latest Answer : Script language declarations, scriplets and expressions. ...

Skill/Topic: Programming ConstructsA) B) C) D)  
Latest Answer : 1  2  ...

Skill/Topic: Programming ConstructsA) B) C) D)  
Latest Answer : code fragment valid tags is  scriptlet tag that is because code is directley placed  in the _ jsp service()  ...

Skill/Topic: Programming ConstructsA) None of the above B) content safeC) synchornisedD) thread safe  
Latest Answer : Thread Safe,so that no other request can interrupt. ...

Skill/Topic: Programming ConstructsA) jspDestroy()B) jspInit()C) _jspService()D) getParameter() 
Latest Answer : _jspService() ...

Skill/Topic: Programming ConstructsA) jspDestroy()B) jspInit()C) _jspService()D) getParameter() 
Latest Answer : jspDestroy() and jspInit() methods are overridden. ...

The tag %@include file=”.........” % > helps in including the ______ file in the JSP page (Multiple choice)
Skill/Topic: Programming ConstructsA) readOnlyB) dynamicC) staticD) None of the above 

We can restrict the calling of the errorPage in the JSP by setting the value true for the ______ param in the ErrorPage attribute of the Page Directory
Skill/Topic: Programming ConstructsA) isErrorpage 

Skill/Topic: Programming ConstructsA) TrueB) FalseExplanation: use the JSPWriter object 
Latest Answer : true ...


 Sponsored Links

 
Related Articles

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

Performing XSLT Transformations inside the Database

Performing XSLT Transformations inside the Database Now that you have the employees XSL stylesheet stored in the database and the xmlusr schema is permitted to access the hr employees table you can create a script that will instruct the database to build an HTML page based on the data stored in hr e
 

Moving All the XML Processing into the Database

Moving All the XML Processing into the Database In the preceding example the database server performs only a part of the XML processing while the rest is still performed by the PHP engine Specifically the database server generates an employees XML document based on the records from the hr employees
 

Performing XML Processing inside the Database

Performing XML Processing inside the Database When building XML enabled applications on top of Oracle there are many advantages to performing the XML processing inside the database when compared to performing it on the client The key advantages to perform XML processing inside the database are as fo
 

SQL Server 2005 Integration Services Review

SQL Server 2005 Integration Services using Visual Studio 2005 A Beginner s Guide SQL Server 2005 A offering of Microsoft Corporation for database management the SQL server 2005 is one of the powerful database management systems in the world Available for integration in almost any system that uses Mi
 

SQL Server Integration Services

SQL Server Integration Services Here is a sample chapter from Beginners Guide to SQL Server Integration Services Using Visual Studio 2005 by Jayaram Krishnaswamy Environment set up for Visual Studio 2005 with respect to SSIS and multiple tasking Connecting to Microsoft Access Text Files Excel S
 

Web Server

Web Server A web server can be a program or the computer itself which receives the requests from various other browsers and responds to those requests These requests are all requests that are being sent for some documents There are two kinds of web servers available The web server program and the
 

jQuery Table Row Finished Code

jQuery Table Row Finished Code The Finished Code Our second example page has demonstrated table row striping highlighting tooltips collapsing expanding and filtering Taken together the JavaScript code for this page is mosgoogle geshibot lang php&quot; document ready function var highlighted
 

jQuery Interacting with Other Code

jQuery Interacting with Other Code We learned with our sorting and paging code that we can t treat the various features we write as islands The behaviors we build can interact in sometimes surprising ways; for this reason it is worth revisiting our earlier efforts to examine how they coexist with t
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape