Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Vijay Kumar
Class.forName in jsp
1 Answer(s)      4 years and 2 months ago
Posted in : JSP-Interview Questions


What Class.forName will do while loading drivers?


Advertisement
View Answers

October 28, 2010 at 4:45 PM


It is used to create an instance of a driver and register it with the DriverManager. When you have loaded a driver, it is available for making a connection with a DBMS.



Related Tutorials/Questions & Answers:
Class.forName in jsp
Class.forName in jsp  What Class.forName will do while loading drivers?   It is used to create an instance of a driver and register it with the DriverManager. When you have loaded a driver, it is available for making
Class.forName
Class.forName   What does Class.forName return
Advertisements
Class.forName() - Java Beginners
Class.forName()  Hi, What is Class.forName() does and how it is useful? What does it do? Thanks   It loads the class into the ClassLoader. It returns the Class. Using that you can get the instance ( "class
Class.forName will do while loading drivers
Class.forName will do while loading drivers  What Class.forName will do while loading drivers
Java jdbc class.forName error - JDBC
Java jdbc class.forName error  HI: how is possible that my JDBC connection to an MYSQL instance works inside the IDE (Netbeans) and not when I start it from the jar file? Could some please give some pointers please? Higly
JDBC Class.forName(String drivername) Example for MySql Database
JDBC Class.forName(String drivername) Example for MySql Database: In this tutorial, we will called the Class.forName(String drivername)that automatically... password = "root"; Now we will called the Class.forName(String
jsp
jsp  Hi How can we display sqlException in a jsp page? How can we mantain session in jsp? Thanks Kalins Naik   JSP SQL Exception <... connection = null; Class.forName("com.mysql.jdbc.Driver").newInstance
jsp
jsp  hai good morning all jsp beginner myself is sathishkumar i am developing a web application jsp. in this application i generate id card.how... { Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection conn
jsp
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 7 in the jsp file: /jsp/insertdate.jsp month cannot be resolved 4...(Calendar.MONTH); An error occurred at line: 17 in the jsp file: /jsp
jsp
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 7 in the jsp file: /jsp/insertdate.jsp month cannot be resolved 4: 5: <% 6: String...); An error occurred at line: 17 in the jsp file: /jsp/insertdate.jsp Duplicate local
jsp
jsp   sir i am trying to connect the jsp with oracle connectivity...: Class.forName("oracle.jdbc.driver.OracleDriver"); 3) Connect to database: a) If you...*"%> <%@ page import="oracle.jdbc.driver.*"%> <% try{ Class.forName
jsp
JSP entered name and password is valid  HII Im developing a login page using jsp and eclipse,there are two fields username and password,I want..."); Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection con
jsp
jsp  when i run jsp program it shows error-500 what is that error my source code is <% page import="java.sql.*" %> <%! Connection... { Class.forName("oracle,jdbc,driver,OracleDriver"); String cs="jdbc:oracle
jsp
jsp  Develop a JSP page (with some fields) with all the JSP tags with a submit button.Make the JSP page to communicate with the database   ...+=languages[i]+" "; } try{ Class.forName("com.mysql.jdbc.Driver
JSP
in the JSP page and display the results back to the same JSP page. Thanks... the ajax send the parameter to another jsp page. That JSP page retrieves the record...(request.getParameter("id")); String data=" "; try{ Class.forName
JSP
what is JSP forward tag for  what is JSP forward tag for   It forwards the current request to another JSP page. Below is the syntax for the same:- <jsp:forward page="...url..." /> We can also forward parameter
jsp
jsp  how to include two jsp page
Jsp
Jsp  Can I implement interface in jsp
jsp
jsp  how to create jsp page
JSP
JSP  How to run jsp program in eclipse
jsp
jsp  how jsp translated into servlets
JSP
can i retrieve corresponding 'id' of name in text-box in jsp and servlet i am...(request.getParameter("id")); String data=" "; try{ Class.forName...); } %> Please visit the following link: http://www.roseindia.net/jsp
jsp
jsp  how to edit only one row from multiple row from single jsp page dynamically   <%@ page language="java" import="java.sql.*"%>...; phone != "" && fax != "" && email_id != "" ) { try { Class.forName
jsp
jsp  Hi,please send me login page code using jsp   1)login.jsp: <html> <script> function validate(){ var username..."); String pass=request.getParameter("pass"); Class.forName("com.mysql.jdbc.Driver
jsp
jsp  write a code for jsp file generator to generate a jsp page automatically taking html page as input
jsp
jsp  how to create a table in oracle using jsp and the table name is entered in text feild of jsp page
jsp
{ Class.forName("com.mysql.jdbc.Driver").newInstance... { Class.forName("com.mysql.jdbc.Driver"); Connection...(); } %> <jsp:forward page="manageuser.jsp"/>
JSP
JSP  Hi, What is JSP? What is the use of JSP? Thanks   Hi, JSP Stands for Java Server Pages. It is Java technology for developing web applications. JSP is very easy to learn and it allows the developers to use Java
jsp
jsp   what is the basic necessities reguired for running jsp using JDBC bridge?? and how to write a jsp code to access the detail present in microsoft access pls send link regarding above
jsp
jsp  how to connect the database with jsp using mysql   Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/connectjspwith_mysql.shtml http://www.roseindia.net/jsp/Accessingdatabase-fromJSP.shtml
jsp
jsp  how can I insert values to the database through the jsp pages   1)form.jsp: <html> <form method="post" action..."); try{ Class.forName("com.mysql.jdbc.Driver"); Connection
 

 

 

DMCA.com