Summary
We have provided a description of Java servlets in this chapter and described the general structure of servlets as well as their usage in generating dynamic responses to web requests. We discussed the different types of HTTP requests available and how a servlet could respond differently to each request.
We also provided information on accessing a servlet. This can be done through either using a form submission or by directly accessing the servlet URL for HTTP GET requests. The processing of responses was also discussed, as well as the configuration of servlets within the web.xml deployment descriptor. In Chapter 15, we will describe how to package, deploy, and debug servlets in a J2EE application server.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 Christopher M. Judd and Hakeem Shittu
About this chapter
Cite this chapter
(2005). Servlets. In: Pro Eclipse JST. Apress. https://doi.org/10.1007/978-1-4302-0059-8_13
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0059-8_13
Publisher Name: Apress
Print ISBN: 978-1-59059-493-3
Online ISBN: 978-1-4302-0059-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)