This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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


 
jQuery in Action, 2nd edition
 
subject: Invoking a portlet from servlet
 
Similar Threads
How do I download a file in a Struts Portlet?
Navigating portlets
Invoking webservice from portlet?
Getting Httpservletresponse and servletoutputstream in Portlet JSF
Invoking a portlet