IntelliJ open source
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of Flex 4 in Action this week in the Flex forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Portals and Portlets
 
RSS feed
 
New topic
Author

Invoking a portlet from servlet

Venugopal Cb
Greenhorn

Joined: Oct 01, 2009
Messages: 1

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
Bartender

Joined: Aug 26, 2006
Messages: 4590

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

Author of Hibernate Made Easy, What is WebSphere???, Portlet Programming Made Easy and the SCJA Certification Guides
My Hibernate and JPA Tutorials * My Mock Java Certification Exams * My Online Java Tutorials * My CBT Portlet Tutorials.

Wiyanto Ngasinur
Ranch Hand

Joined: Dec 11, 2006
Messages: 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


This message was edited 1 time. Last update was at by Wiyanto Ngasinur

 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Portals and Portlets
 
RSS feed
 
New topic
JProfiler
Get rid of your performance problems and memory leaks!

.