Servlet

1.1 Introduction to Servlet

Servlet are Java programs that run on Web or application servers.
Learn more...

1.2 Client Side vs Server Side

Server-side development is the process of creating applications which run on a 'server' rather than on the end-users 'client' computer.
Learn more...

1.3 CGI vs Servlet

CGI is a standard protocol used by the server to pass the client request to and from application to the user.
Learn more...

1.4 Servlet-API

All servlets must implement the Servlet interface, which defines life-cycle methods.
Learn more...

1.5 Generic Servlet vs HttpServlet

GenericServlet defines a generic, protocol-independent servlet. HttpServlet defines a HTTP protocol specific servlet.
Learn more...

1.6 Servlet Life Cycle

GenericServlet defines a generic, protocol-independent servlet. HttpServlet defines a HTTP protocol specific servlet.
Learn more...

1.7 First Servlet Program

Here is the first Servlet program.
Learn more...

1.8 How Servlet Works

Servlet follows a complete cycle to run the program. Here are some steps to show how Servlet works.
Learn more...

1.9 Servlet in Eclipse

There are some steps to follow for Run Servlet in Eclipse.
Learn more...

1.10 Servlet in NetBeans

There are some steps to follow for Run Servlet in NetBeans.
Learn more...

1.11 Servlet in JDeveloper

There are some steps to follow for Run Servlet in JDeveloper.
Learn more...

1.12 HttpServletRequest

HttpServletRequest is use to reterive the infomation from Client.
Learn more...

1.13 HttpServletResponse

HttpServletResponse is used to send response to the client.
Learn more...

1.14 sendRedirect

sendRedirect() method sends the request with the new URL, which connects to this URL.
Learn more...

1.15 RequestDispatcher

RequestDispatcher object can forward a client's request to a resource or include the resource itself in the response back to the client..
Learn more...

1.16 ServletConfig vs ServletContext

HttpServletResponse is used to send response to the client.
Learn more...

1.17 Session

HTTP is a stateless protocol ,where each request and response both is independent of other web interactions.
Learn more...

1.18 Session Approaches

There are four approaches of Session-Tracking.
Learn more...

1.19 Attributes Types in Servlet

Request Attribute is Object which is associated with request.
Learn more...

1.20 Filters

Filters allow you to add for performing some business processing before or after the servlet in Java classes.
Learn more...

1.21 Listeners

Listeners achieve some tasks during Life Cycle of Application for Developers.
Learn more...

1.22 SingleThreadModal

In Single Thread Model,servlets handle only one request at a time.
Learn more...

1.23 Annotaion in Servlet

The Release Servlet 3.0 added several new features and changes.
Learn more...

1.24 Examples

Here are some examples of Servlet.
Learn more...