iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Using NonStop Servlets for JavaServer Pages With
The iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—522659-001
9-37
How To Handle an HTML Form
</BODY>
</HTML>
The HTML file called Body is:
<BR>
<H1>
This is text that will be included in the body of the HTML in
the JSP file
</H1>
<BR>
How To Handle an HTML Form
Probably the most basic part of a web application is an HTML form in which a user
enters some information. The information might be a customer's name and address, a
word or phrase entered for a search engine, or selection from an online catalog.
The information the user enters in the form is stored in the request object, which is sent
from the client to the JSP container
Figure 9-6, Requests and Responses in a JSP Application.
represents a generic data flow
between the client and the application in the web container.
The JSP web container sends the request object to the server-side component specified
in the JSP file. This could be a servlet, some internal Java code or some external Java
Bean code. That component handles the request, usually retrieving data from a database
and passes a response object back to the JSP web container. The JSP container passes
the response object to the JSP page, where its data is formatted according the page's
Figure 9-6. Requests and Responses in a JSP Application.
VST906.vsd
Client Browser iTP WebServer
JSP Page
Component