What is JDBC in JSP?
What is JDBC in JSP?
JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and execute the query with the database. It is a part of JavaSE (Java Standard Edition). JDBC API uses JDBC drivers to connect with the database.
What is difference between Java and JSP?
In short, Java is object oriented computing language which can do almost anything you want to do. JSP is technology based on java, JSP processor generates webpages using java language. Java is a pure object oriented language, by object oriented I mean, we create classes and instantiate objects of those classes.
What is the difference between JSP?
jsp. The main advantage of JSP is that the programmer can insert Java code inside HTML. There are JSP tags to insert Java code. The programmer can write the tag at the end of the Java code….Difference between JSP and HTML.
S.No. | JSP | HTML |
---|---|---|
3 | JSP generated dynamic web pages only. | Whereas Html generated static web pages only. |
What is JSP anatomy?
A JSP consists of two basic items: template data and JSP elements. Template data provides the static aspects, and JSP elements are used for the dynamic aspects of a JSP.
What is the difference between JSP and ASP?
ASP stands for Active Server Pages, which is used in web development to implement dynamic web pages. JSP is a server side scripting language, which was created by Sun Micro systems. JSP code is compiled at run-time. ASP code is not compiled, because it uses VB-script, therefore it is an interpreted language.
What is the difference between JSP and HTML?
The main difference between JSP and HTML is that JSP is a technology to create dynamic web applications while HTML is a standard markup language to create the structure of web pages. In brief, JSP file is an HTML file with Java code.
What is JDBC and its architecture?
Java Database Connectivity (JDBC) architecture is an API specifying interfaces for accessing relational databases. JDBC helps to connect to a database, send queries and updates to the database, and retrieve and process the results obtained from the database for queries.