tags:

views:

157

answers:

1

Im new to JSP Portlets..I was just concentrating on the flow of these Portlets....I had one doubt, How does our first jsp page gets executed..??? How does doView() executed ??

(Displaying the very first JSP Page...) I was just guessing in this way...

portlet.xml --> JSPPortlet(which extends Generic Portlet) --> doDispatch() --> doView()

Does my flow correct?? If anything wrong I said above, Plss let me knw.. Hope to get ans as quickly as possible....

A: 

I believe it is render -> doDispatch -> do<Mode> where the mode method called depends on the mode set in the PortletRequest (view by default). The render method is the only one exposed by the javax.portlet.Portlet interface.

McDowell