Feed on
Posts
Comments

Archive for the ‘Servlet’ Category

Overview of Servlets
Servlets represent an extension to the HTTP server. It takes http request as an input and sends the http response to the client as an output. Servlet API provides two packages they are javax.servlet and javax.http.servelt. These packages contain interfaces and classes to deal with generic and http functionality that means you can [...]

Read Full Post »

Overview of JSP
When the user requests a JSP page for the first time, A JSP converts into servlet java source file and compiles into servlet class file that is called as translation phase, then onwards it works like pure servlet for all requests this is called execution/request process phase. But the method signatures are different [...]

Read Full Post »

Write thread-safe servlets

A thread is a single execution process; in other words, an individual, sequential flow of control within a program. When we say that a program is multi-threaded, we are not implying that the program runs two separate instances simultaneously (as if you concurrently executed the program twice from the command line). Rather, we are saying [...]

Read Full Post »

Servlet FAQ’s

This FAQ is part of the Code Style Help and FAQ section.

Read Full Post »

Servlet single threaded model

Typically, a servlet class is instantiated the first time it is invoked. The same instance will be used over several client requests, so all members that are declared in that servlet are shared accross clients. That is what is meant by multi threaded model, multiple clients that access the same instance.

Read Full Post »

javax.servlet.jsp Package

Check here and read about javax.servlet.jsp package

Read Full Post »

Older Posts »