Chapter 10. Development of XML-based Enterprise applications 255
Figure 10-29 Customer Registration form
Once the Submit button is clicked, the doPost is invoked. It extracts the data
from the HTTP request, and constructs a new customer entity bean, and the data
is inserted into the database. Then the CustomerXML converts the bean into a
DOM representation. The servlet finally applies the output style sheet on the
create DOM representation creating the HTML output in Figure 10-30.
Figure 10-30 HTML resulting from the XSLT transformation