no such tag

Hi, I have a JSP declaring:

<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>

<portlet:defineObjects />

<%renderResponse.setTitle("youhou");%>

<%-- <div class="<portlet:encode name='container'>"> --%>

The renderResponse object, made available by the call to <portlet:defineObjects />, works fine and the title of the portlet is changed to youhou.

However, when I put in the line with the <portlet:encode> tag, an exception is thrown:

[17/Jun/2005:15:56:28] SEVERE ( 6214): ApplicationDispatcher[/portlet] Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: No such tag encode in the tag library imported with prefix portlet

and the portlet cannot be displayed.

Any idea why this happens?

Im on Solaris 8, Sun ONE 7 and Portal Server 6.2

[948 byte] By [matthieutc] at [2007-11-25 19:30:00]
# 1
Please take a look /opt/SUNWps/samples/portlet how the encode is used in those sample jsp. You can also check out Portal developer guide under http://docs-pdf.sun.com/817-7695/817-7695.pdf to see how enocde is used. Jerry
jh23093 at 2007-7-4 12:06:46 > top of Java-index,Web & Directory Servers,Portal Servers...