What Are Java Servlets?
For example, a weather-report or news headlines page might build the page dynamically, perhaps returning a previously built page if it is still up to date
- The Web page uses information from corporate databases or other such sources.For example, an organization making a Web page at an online store that lists current prices and the number of items in stock would use this feature
Servlets are Java technology’s answer to CGI programming; JSP is a technology that lets users mix regular, static HTML with dynamically-generated HTML. This tutorial discusses the basics of Java Servlets and JSP, and the advantages of using each of these technologies.
Next: What Are the Advantages of Servlets Over Traditional CGI?