Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Portals and Portlets and the fly likes Portal Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Portal Application " Watch "Portal Application " New topic
Author

Portal Application

Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
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.

Regards,
vardhan
Sumeet Singh Aryan
Ranch Hand

Joined: Jul 30, 2008
Posts: 43
hi,
May i know that your are using which portal?? JBoss Portal, IBM, LifeRay, etc???


The woods are lovely, dark and deep, But I have promises to keep; And miles to go before I sleep, And miles to go before I sleep. - Robert Frost
Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
Hi sumeeth,
I am using IBM portal, how can i add jsps on portlets.

Regards,
Vardhan
Praveen Belkar
Greenhorn

Joined: Feb 15, 2007
Posts: 13
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.


Praveen<br />IBM Websphere Portal Application Developer 5.1<br />SCBCD<br />SCWCD<br />SCJP<br />IBM Tivoli Identity Manager Deployment Specialist 4.6
Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
Hi Praveen,

Thanks for your reply.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Portal Application
 
Similar Threads
URLs in a Portlet
How to handle pagination?
Portlet Session Scope - Application or Portlet
Problem when deploy a portlet to Pluto portal
portlet cloning in websphere portal