The bean is later accessed in the inline Java code from the JSP. For more
discussion on beans, see Section 3.7, Accessing data through a Java bean
on page 103.
3.6.2 Implementation of JSP in our Web application.
This section describes the way in which we implemented JSP in our Web
We opted to use a request to servlet response via the JSP approach. This is
illustrated in Figure 76.
<%@ LANGUAGE= Java
Figure 76. Request to servlet response via JSP approach
220.127.116.11 Invoking a servlet
Invoking a servlet from within a JSP is achieved by creating a URL that calls
the servlet. It has the following general form:
We called our servlets from within an HTML form and called them as follows:
Chapter 3. Building the Web server