Servlet Advantages - Servlets are used to extend the server side functionality of a website...
|
Servlet life cycle - Servlets are the programs that run under web server environment. A copy of Servlet class can handle numerous request threads..
|
Servlets Authentication options - There are four ways of Authentication options available in servlets...
|
GenericServlet and HTTPServlet - The Constructor HttpServlet() does nothing because this is an abstract class...
|
Yes, it is possible to have a constructor for a servlet. However, it is not practiced usually. The operations with the constructor...
|
Servlet and Applet - Applets are applications designed to be transmitted over the network and executed by Java compatible web browsers...
|
Servlet HTTP Tunneling - The solution is to have them encapsulated in http or https and sent as an HttpRequest. Thus, masking other protocols as http requests is called HTTP Tunneling...
|
Servlet ServletConfig and ServletContext - ServletConfig is a servlet configuration object. It is used by a servlet container to pass information to a servlet during initialization...
|
In doGet(), the parameters are appended to the URL and sent along with header information...
|
getSession(true) will check whether a session already exists for the user. If yes, it will return that session object else it will create a new session...
|
Servlet and JavaBean - Servlets are Java based analog to CGI programs, implemented by means of a servlet container associated with an HTTP server...
|
Servlet and RMI - RMI (Remote Method Invocation) are a means of client server communication. In this, the client invokes a method on the server machine..
|
Servlet servlet mapping - Servlet mapping controls how you access a servlet. It is recommended that you don’t use absolute URLs. Instead usage of relative URLs should be done...
|
A servlet is a java class / a program that is a server side component and runs in web container.....
|
The life cycle is managed by the Servlet container in which the servlet is deployed...
|
The javax.servlet.HttpServlet / javax.servlet.Servlet is the interface that is to be implemented by all the servlets....
|
The init() method, The service() method, The destroy() method, The getServletConfig(), The getServletInfo() method......
|
This class implements Servlet and ServletConfig interfaces. This class can be extended by a servlet.....
|
The HTTPServlet class provides an abstract class that is to be sub classed which is suitable for a web site......
|
Servlet context is created by the container and can be viewed as a shared memory resource for all the servlets for a web application.....
|
The state of requests for the same user is being maintained by the session of a servlet....
|
Servlet collaboration is all about sharing information among the servlets..
|
Servlets are java classes which run on a web server. The results produced by the servlet are viewed on a remote web server....
|
Servlets : Defines all the methods that a servlets implements. Servlets receives and responds to a request from the web clients.....
|
A java enabled server’s functionality can be extended by a servlets...
|