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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "multiple portlet config in WSAD" Watch "multiple portlet config in WSAD" New topic
Author

multiple portlet config in WSAD

Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
In portlet.xml in WSAD I configured. I am using Struts portal
And I have a struts config file in
WEB-INF/struts-config.xml (main portlet)

and one under
WEB-INF/navigation/struts-config.xml (navbar portlet is configured with this)

Portlet.xml has the following configuration .



I made sure not to add welcome files tag in web.xml becuase I dont want both portlets to show up the SAME page.
Struts portlet configuration for multiple portlets .According to this URL if I configure viewMode.page in portlet.xml ,I can direct different portlets to different pages at load up but this doesnt seem the case.
It needs welcomefile configured in web.xml.
IF I add welcome file both portlet show the same page.
I have been struggling with this for quite a while .
Cant find any solution which is working and I thought it would be such a simple solution. Please HELP!!!
MY webContent has

index.jsp (First portlet to show this )
navigation(folder) navigation.jsp (navigation portlet to show this file)

Thanks
Dhiren
[ June 15, 2005: Message edited by: Dhiren Joshi ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multiple portlet config in WSAD
 
Similar Threads
how to deploy portlet in pluto portal with tomcat server
The portlet could not be rendered exception while migrating struts to Portal
JSR struts portlet NOT reloading first page - after it gets to the 2nd page
Struts + Portlets
portlet question