Can we make a database connection from HTML ?
Answers were Sorted based on User's Feedback
Answer / anand
No. HTML is client side only. Its parsed at the client end.
The server side scripting languages are used to deal with
databases and other resources.
| Is This Answer Correct ? | 94 Yes | 16 No |
Answer / vikas
No, from HTML we cannot make database connection.we can make
database connection using languges like PHP,JSP using HTML
Page as front end.
| Is This Answer Correct ? | 52 Yes | 14 No |
Answer / ganga
no we cant make database connection with HTML.
But we can transfer data by using XML
| Is This Answer Correct ? | 21 Yes | 6 No |
Answer / pritam chatterjee
No,as using HTML we design the front-end of the web page or
client side.To access database we have to use server side
scripting like PHP using MySQL,ASP with SQL,JSP with ACCESS etc.
| Is This Answer Correct ? | 15 Yes | 6 No |
Explain about multiple implementations and drive manager?
What is jdbc thin client in oracle?
What is an odbc driver?
What is type 4 jdbc driver?
What is in terms of jdbc a datasource?
Difference between servlet and applet method?
What is createstatement method in java?
What is JDBC Transaction Management and why do we need it?
How to find number of records in result set?
What is device controller?
What are the different types of drivers under jdbc?
java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDr iver? I get this error at run time.I used oracle10G. I set CLASS PATH:C:\oraclexe\app\oracle\product\10.2.0 \server\jdbc\lib\ojdbc14.jar; I write JDBC PROGRAM like import java.sql.*; class Example { public static void main(String args[]) { try { Class.forName ("oracle.jdbc.driver.OracleDriver"); System.out.println("Driver Loaded"); Connection con=DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:xe","system","salmas"); System.out.println("Driver Connected"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select * from emp"); while(rs.next()) { System.out.println(rs.getInt(1)); System.out.println(rs.getString(2)); System.out.println(rs.getString(3)); } st.close(); con.close(); } catch(Exception e) { System.out.println(e); } finally { System.out.println("it's finally block executed"); } } }