Difference between servlet and applet method?
Answers were Sorted based on User's Feedback
Answer / janet
1. servlets are to servers what applets are to browsers.
2.Applets must have graphical user interfaces where as
servlets have no graphical user interfaces.
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / anjana.srinivas.tandle
.
1. servlets are to servers what applets are to browsers.
2.Applets must have graphical user interfaces where as
servlets have no graphical user interfaces
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / neeraj tyagi
servlet is the sever side and client side application
whereas appelet is not
applet use awtcomponent to but servlet no use awt
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you know which driver is connected to a database?
How we can you use preparedstatement.
What is the use of prepared statement?Ans:used to execute pre compiled statement...so the question is when that precompiled statement will be execute or comiple?................
Why do you use a data source object for a connection?
dear friends I have made connection with SQLSERVER where the following code is compiling properly but giving error at the runtime . I think error in this line where i am sending the value through string Connection connection = DriverManager.getConnection ( "jdbc:microsoft:sqlserver://localhost:1433","sa",""); import java.sql.*; //import mssqlserver.*; public class TestSQLCON { public TestSQLCON() throws Exception { // Get connection DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver()); System.out.println(); System.out.println("Successfully connected one"); System.out.println(); Connection connection = DriverManager.getConnection ( "jdbc:microsoft:sqlserver://localhost:1433","sa",""); if (connection != null) { System.out.println(); System.out.println("Successfully connected"); System.out.println(); // Meta data DatabaseMetaData meta = connection.getMetaData(); System.out.println("\nDriver Information"); System.out.println("Driver Name: " + meta.getDriverName()); System.out.println("Driver Version: " + meta.getDriverVersion()); System.out.println("\nDatabase Information "); System.out.println("Database Name: " + meta.getDatabaseProductName()); System.out.println("Database Version: "+ meta.getDatabaseProductVersion()); } } public static void main (String args[]) throws Exception { TestSQLCON test = new TestSQLCON(); } } so please help me
How do I insert/update records with some of the columns having NULL value?
What is jdbc odbc bridge?
What are the differences between statement and preparedstatement interface?
How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?
Explain the steps in writing a java program using jdbc?
Is jdbc a framework?
How many ways can you update a result set?