wood burning stoves 2.0*
The moose likes Portals and Portlets and the fly likes Invoking a portlet from servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Invoking a portlet from servlet" Watch "Invoking a portlet from servlet" New topic
Author

Invoking a portlet from servlet

Venugopal Cb
Greenhorn

Joined: Oct 01, 2009
Posts: 2
Hi,

I am new in the portlet development, i want to invoke a portlet from one servlet. How can I do invoke a portlet from a servlet?




Thanks
venucbv
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Well, really, you can't do that. There's no way to generate a URL for just one portlet, without invoking the whole portal infrastructure.

What are you trying to do and why? I'm wondering if there's another way to deal with the problem you're looking at.

-Cameron McKenzie
Wiyanto Ngasinur
Ranch Hand

Joined: Dec 11, 2006
Posts: 34
Hi currently i also have same issue, i need to render only part of one of portlet, not fully page - aggregated portlet .
I'm using IBM Websphere 6.0.x, and found PortletServingServlet looks like will fullfil my needs, but i have google there is nothing real example how to use this feature.
If maybe someone can give any idea/example about this feature? it will means alot for me.

Thanks,
Wiyanto

Cameron Wallace McKenzie wrote:Well, really, you can't do that. There's no way to generate a URL for just one portlet, without invoking the whole portal infrastructure.

What are you trying to do and why? I'm wondering if there's another way to deal with the problem you're looking at.

-Cameron McKenzie


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invoking a portlet from servlet