Appendix F. Bit Operations

 
[Page 1157]

Chapter 34. Servlets

Mayan God Shel, Mexico. Photographer: Philip Coblentz. Courtesy Brand X Pictures.

Objectives

  • To understand the concept of servlets ( §34.2).

  • To run servlets with Tomcat ( §34.3).

  • To know the servlets API ( §34.4).

  • To create simple servlets ( §34.5).

  • To create and process HTML forms ( §34.6).

  • To develop servlets to access databases ( §34.7).

  • To use hidden fields, cookies, and HttpSession to track sessions ( §34.8).

  • To send images from servlets ( §34.9).


[Page 1158]

34.1. Introduction

Servlet technology is primarily designed for use with the HTTP protocol of the Web. Servlets are Java programs that run on a Web server. Java servlets can be used to process client requests or produce dynamic Web pages. For example, you can write servlets to generate dynamic Web pages that display stock quotes or process client registration forms and store registration data in a database. This chapter introduces the concept of Java servlets. You will learn how to write Java servlets and run them from Tomcat. Tomcat is a Web server that supports Java servlets and JSP. It can be downloaded free.

 


Introduction to Java Programming-Comprehensive Version
Introduction to Java Programming-Comprehensive Version (6th Edition)
ISBN: B000ONFLUM
EAN: N/A
Year: 2004
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net