Hi All, I am new to portal, i am doing one portal application in that I have three modules each module contain 4 or 5 pages. my question is how to create portles and how to create pages in portlet, i heard in some where first i need to deploy my application after that i can add pages to my portlet is it true, so how can i add this pages to my portlet, suggest me good meterial for me to complet this application, i am prety confuging with this can any one help me.
Let me rephrase your problem. You need to create three portlets, each of which have 4-5 jsps. If this is true, then You need to create a portlet application, which is having 3 struts/jsf portlets in it. Dont confuse with the concept of pages and jsps. The pages contain the portlet applications. The portlet application contain the portlets and portlets in turn contain the jsps. You cannnot create pages within portlets.
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.