The following diagram shows the architecture of HTML HelloWorld
Sample:
From this chart, connecting lines
1~18 are described in the following steps 1~18.
- From the browser, the “CSEstablishSessionServlet” is called to
create a new client session.
- The servlet passes the request to the “HtmlRequestHandler”
- As part of the establish session process, a startUpOp operation
is run (startUpHtmlSessionOp; consult the btt.xml)
- Results of the startup operation are passed through the request
handler.
- Then the results are passed back to the session servlet.
- Then the user is brought to the Home Page (check the btt.xml).
- From this point, all requests - such as clicking the Start hyperlink
on the home page - will be passed through the request
servlet (CSReqServlet)
- The request servlet passes the request to the request handler.
- The handler consults the presentation flow you created.
- The target source (helloWorld.jsp) is invoked and passed back
to the Request Handler.
- The request handler passes the JSP to the presentation handler.
The presentation handler uses a built-in JSP engine to generate an
HTML page from the JSP
- The resulting HTML page is passed back to the request servlet
as a response.
- The response page is shown in the browser (helloWorld).
- The inner operation (helloWorldOp) gets data elements from context
and decides which page will be displayed.
- The target source (helloWorldComplete.jsp or errorPage.jsp) is
invoked and passed back to the Request Handler.
- The request handler passes the JSP to the presentation handler.
The presentation handler uses a built-in JSP engine to generate an
HTML page from the JSP
- The resulting HTML page is passed back to the request servlet
as a response.
- The response page is shown in the browser (helloWorldComplete
or errorPage).