If it is not the first time that a request comes in from a browser, the
following happens:
- A client browser points to the portal application URL.
- The application presentation layer calls the service method of BTTPortalActionServlet.
- The BTTPortalActionServlet retrieves the appropriate ActionConfig class
for the request.
- The BTTPortalActionServlet retrieves the appropriate BTTPortalRequestProcessor
and delegate the request to the BTTPortalRequestProcessor for handling.
- The BTTPortalRequestProcessor populates data from the request to the Portal
Struts framework. The data in the Portal request is now mapped to the context.
- If necessary, the BTTPortalRequestProcessor instantiates and initializes
the appropriate validation class to validate the data in the context.
- If Action Conditions definition is specified with action, Condition Processor
will be started and execute each condition defined and feed back correct path
as condition executed result.
- BTTPortalRequestProcessor will determinate the Struts Action type: common
Struts Action or Portal Struts Action.
- The framework calls the execute method of the appropriate Action (BTT
Struts Extension Action or BTT Portal Struts Extension Action). The action
then calls a business process or a Single Action EJB in the application logic
layer to process the request.
- According to the response from the application logic layer,
the action returns an ActionForward. The ActionForward indicates the next
activity to perform.