Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

portlet in jsp  RSS feed

 
nandini lagunia
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the way of embedding a Portlet into jsp?
I am using open portal container.
 
Jonas X. Yuan
author
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One example (Liferay portal)

<%@ include file="/html/taglib/init.jsp" %>
<div style="margin-top: 10px;">
<liferay-portlet:runtime portletName="extComments" /></div>
<%!private static Log _log = LogFactoryUtil.getLog("portal-web.docroot.html.taglib.ui.discussion.page.jsp");
%>

Abstracted from liferay-portal-5-2-systems-development
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!