If you're writing a substantive web application, you're likely to have a number of visitors to your site at the same time, with each of them calling up a series of screens. In this module, we examine parameter handling, session control, and the persistence of servlets from one call to the next.
This topic is presented on public courses
Java Programming for the Web,
Java Bootcamp
Examples from our training material
Background information
This module is available under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
Introduction.
What is a Servlet?.
How do Servlets fit into the scheme of things?.
What alternatives are there to servlets?.
Servlet Engines.
Java Class Structure.
Data Interface.
A first servlet.
Reading from a form.
At a higher level.
Get v Post.
The life of a servlet.
Initialisation.
Destruction.
Example procedure - take an application of ours, modify, re-upload.
Maintaining State.
Session Objects.
Rewriting URLs.
Hidden fields.
Programming techniques.
Webifying output.
Keeping code and pages separate.
State Diagrams.
Other facilities of servlets.
Multiuser Servlets.
Servlet Descriptions.
Cookies.
Sessions in Servlets.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Java,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 600 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.