O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required