This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

portlet in jsp

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic