Java Servlet APIThe Java Servlet API is an extension to the standard Java packages and marks the first move of Java from the standard application domain to the server-side. This API aids developers in building powerful and efficient Web applications using a simple API. The entire HTTP protocol is encapsulated in a set of classes in the Java Servlet API.
The Java Servlet API enables development of Web application components that can be deployed on any Java Servlet API-compliant servlet container. The API defines a set of classes for building generic servlets as well as HTTP protocol servlets. Apart from the support for the HTTP protocol, the Java Servlet API also provides useful features, such as filters and listeners, which enable application component providers to enhance their Web-application
When you use the Java Servlet API to build Web-application components, the servlet container
|
JavaServer Pages (JSPs)
JavaServer Pages (JSPs) are based on the concept of server-side parsing. A JavaServer Page is an HTML page with Java statements embedded in it. The JSP specification defines certain special tags that can be embedded within the HTML page. In a normal working scenario, the JSP pages are parsed by a JSP compiler within the application server and converted into a Java servlet with the generated code embedded within the Java servlet as a set of Java statements. The generated Java servlet is then compiled as a normal servlet and loaded into the Java servlet container. The Java servlet is then used to process the
In effect, the JSP specification
The JSP specification defines the following set of tags that can be used by application component providers:
JSP Tag LibraryThe JSP specification does allow developers to extend the JSP functionality and add custom tags in the JSP page. To develop custom tags, you need to write a custom JSP tag library to support the custom tags because the JSP engine that parses the JSP will have no idea how to interpret and process the custom tags.
The primary advantage
Visual composing tools are available from different
|