Java was first seen by many programmers as a way to enhance Web pages by adding some actual code to them, to be run in the browser. But the real power of Java was unleashed at the other end of the client-server connection, when Java was pressed into service on the Web server—to help serve up pages, sometimes of its own making, to Web clients all across an enterprise.
What servlets are.
How to write a simple servlet.
More complex servlet matters (servlet state).
An example—our BudgetPro application as a servlet.
Servlets are Java programs that are run by a Web server. At its simplest, a servlet is a Java class that is invoked by a Web server ...