File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "multiple portlet config in WSAD" Watch "multiple portlet config in WSAD" New topic

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 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)

[ June 15, 2005: Message edited by: Dhiren Joshi ]
I agree. Here's the link:
subject: multiple portlet config in WSAD
It's not a secret anymore!