Abstract
Java servlets were the first technology for producing dynamic Java web applications. Sun Microsystems released the first Java Servlet specification in 1997. Since then it has undergone tremendous change, making it more powerful and easing development more with each release. Servlets are at the base of web content for many Java EE applications. Servlets are Java classes that conform to the Java Servlet API, which allows a Java class to respond to requests. Although servlets can respond to any type of request, they are most commonly written to respond to web-based requests. A servlet must be deployed to a Java servlet container, be it a full stack application server or a micro container, in order to become usable. The Servlet API provides a number of objects that are used to enable the functionality of a servlet within a web container. Such objects include the request and response objects, pageContext, and a great deal of others, and when these objects are used properly, they enable a Java servlet to perform just about any task a web-based application needs to do.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Josh Juneau
About this chapter
Cite this chapter
Juneau, J. (2020). Servlets and JavaServer Pages. In: Jakarta EE Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5587-2_1
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5587-2_1
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5586-5
Online ISBN: 978-1-4842-5587-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)