Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

JSP-database problem  RSS feed

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:





 
Ranch Hand
Posts: 317
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put oracle driver jar in lib folder of your application.
 
Author and ninkuma
Marshal
Posts: 66807
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error is clearly saying that Driver jar is missing. Try to put Oracle driver library in lib and try again.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!