15.2. Message flow

As an exercise, follow the message flow of this scenario which is explained here step by step. The operation flow is as follows (see Figure 15-1 on page 466).

1.
At initialization time, Portal invokes the initial View mode page configured in the portlet descriptor (portlet.xml):
   <portlet-preferences>
             <preference>
                <name>com.ibm.struts.portal.page.view.html</name>
                <value>index.jsp</value>
             </preference>
             ..................
   </portlet-preferences>
2.
The index.jsp page sends a forward with the name welcome:
   <logic:forward name="welcome"/>
3.
The configuration file (struts-config.xml) has a global forward indicating that the action welcome should be invoked:
   <global-forwards>
         <forward name="welcome" path="/welcome.do"> </forward> ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.