Typically, form processing involves multiple components
operating in the background, with each component responsible for a
discrete task such as state management,
data validation, database access, and so on. While there are numerous
examples that
demonstrate form processing with Perl
scripts and servlets, using JSPs for this purpose has received little
attention. There
is a reason for this. Apart from the fact
that JSP is a fairly new technology, many view it as being suitable
mostly for handling
the presentation of dynamic content
sourced from either JavaBeans or servlets. However, as you shall soon
see, the combination
of JSP with JavaBeans can be a force to
reckon with when processing HTML forms.
In this article, I will examine the
handling of a user registration form using JSP. One of the basic
programming tenets of
JSP is to delegate as much processing as
possible to JavaBean components. My JSP form-handling implementation
will demonstrate
some interesting features. more...
No comments:
Post a Comment