Hello I got stuck in below scenarios. I have a method(Insert_values) in my java program that will get database connection & store the value in Database connection. Scenario 1 : If i ran the method by creating main function in that class (as a java application) no error its connected with database & store the value in DB Scenario 2: If i ran the same in server its given No suitable driver found for jdbc:oracle while calling that particular method(Insert_values).
Server Name -Tomcat8.0
API - Ojdbc14
Can any one give me solution for this scenario.