aspose file tools
The moose likes JSP and the fly likes JSP-database problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "JSP-database problem" Watch "JSP-database problem" New topic
Author

JSP-database problem

Ramesh Sunkara
Ranch Hand

Joined: Mar 01, 2010
Posts: 78
hi guys,
THANK YOU FOR YOUR TIME.



The CLASSPATH which i set is : C:\Program Files\Tomcat 5.5\common\lib\servlet-api.jar;C:\ORACLE\product\10.2.0\client_1\jdbc\lib\classes12.jar;C:\Program Files\Tomcat 5.5\common\lib\ojdbc14.jar;C:\Program Files\Java\jdk1.6.0_18\bin;

I installed ORACLE CLIENT10g for accessing a network database.


THE ABOVE CODE WORK FINE. I AM ABLE TO GET DATA ,,, BUT WHEN I USED THAT CODE IN JSP AM UNABLE TO CONNECT TO DB.

MY JSP CODE


AM GETTING THIS ERROR:





Harpreet Singh janda
Ranch Hand

Joined: Jan 14, 2010
Posts: 317

Put oracle driver jar in lib folder of your application.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56162
    
  13

You will find the caps lock key on your keyboard, most probably to the left of the A key. Please turn it off!

Read this: KeepItDown


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Srilakshmi Vara
Ranch Hand

Joined: Jul 21, 2004
Posts: 169
Error is clearly saying that Driver jar is missing. Try to put Oracle driver library in lib and try again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP-database problem
 
Similar Threads
Axis2 - WSDL to code
Problem installing Axis
ERROR with using JDBC to connect to DB2 Express C
problem in running a servlet
to retreive datas from mysql table in jsp