Overview of the Servlet and JSP
- Java Servlet and JSPs are the server, ebay.com, walmart.com, and thousands of
other popular sites. side technologies to extend the capability of web servers by providing support for dynamic response and data persistence. Used by google.com
A servlet is a Java class. It's written in normal Java.
->Servlet is HTML in java
A Java Server Page (JSP) is a file that is often used in place of a servlet because it makes it easier to output data. JSP is similar to PHP since you can mix output (like HTML) with Java without using out.println stuff like is necessary with a servlet. A JSP file is actually a servlet; when you add it to your server, it gets transformed into a .java file without you knowing about it. And after the transformation, it gets compiled into .class file along with other .java files when it is necessary.
>JSP is java in HTML
It is very common to combine servlets and JSP so that the initial request gets sent to a servlet which does some java work and then forwards it to a JSP which actually makes the HTML output.
JavaServer Faces (JSF) is a model-view-presenter framework typically used to create HTML form-based web applications.
A Servlet is mainly used to extend the functionality of server while JSP serves as the view.
Friday, August 19, 2016
Unit 2: Overview of the Servlet and JSP
Servlet
JSP
About Unknown
Author Description here.. Nulla sagittis convallis. Curabitur consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, nibh. Duis vulputate elit in elit. Mauris dictum libero id justo.

