Your portlet, the
Java class itself, is your controller. You can have the Java class figure out navigation, and depending on the state of the application, it can figure out which
JSP page to forward the user to.
For multi-page portlets, this can become a challenge, so the
JSF and
Struts portlet wizards exist. Check out my signature links for some video tutorials and sample code for creating Struts of JSF portlets.
If you have multiple portlet applications, like logically separate applications that will run in the same portal, you can create multiple portlet applications, each of which gets deployed in a separate war files. These apps follow similar rules to separate
Servlet and JSP war files, which includes not being able to share JSPs, or share common PortletSession data.
-Cameron McKenzie