Posts

Showing posts from November, 2019

Servlet

Image
What is a Servlet? Servlet can be described in many ways, depending on the context. Servlet is a technology which is used to create a web application. Servlet is an API that provides many interfaces and classes including documentation. Servlet is an interface that must be implemented for creating any Servlet. Servlet is a class that extends the capabilities of the servers and responds to the incoming requests. It can respond to any requests. Servlet is a web component that is deployed on the server to create a dynamic web page. Do You Know? What is the web application and what is the difference between Get and Post request? What information is received by the web server if we request for a Servlet? How to run servlet in Eclipse, MyEclipse and Netbeans IDE? What are the ways for servlet collaboration and what is the difference between RequestDispatcher and sendRedirect() method? What is the difference between ServletConfig and ServletContext interface? How many ways...

Apache Tomcat server

Image
Apache Tomcat Tutorial – Index Introduction to Apache Tomcat Installation of Apache Tomcat in Ubuntu Managing Tomcat Starting Tomcat Restarting Tomcat Stopping Tomcat Deploying Web Applications with Apache Tomcat Introduction to Apache Tomcat The Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. Apache Tomcat is usually used as a Servlet Container even though Tomcat has a fully functional HTTP Server to serve static content. In most of production, Tomcat is used in conjunction with Apache HTTP Server where Apache HTTP Server attends static content like html, images etc., and forwards the requests for dynamic content to Tomcat. This is because Apache HTTP Server supports more advanced options than that of Tomcat. Latest Apache Tomcat version 8.5 adds support for HTTP/2, OpenSSL for JSSE, TLS virtual hosting and JASPIC 1.1 Components and Features of ...