« Return to Thread: Re: JSP and Portlets
I followed that guide and didn't experience any problems, although I
used Jetty instead of Tomcat. Which libraries do you have in the
Tomcat classpath, and which do you have in your web application?
Nils-H
On Tue, Feb 26, 2008 at 3:43 PM, Pierpaolo Lombardi <pier.lomb@...> wrote:
> Hi to all!
>
> I'm trying to embedd portlets in a jsp at run-time...I used the guide at
> this link http://portals.apache.org/pluto/faq.html#simple-embed
> My jsp page is showed below...When I ask for the jsp by using the browser
> an Exception occurs
>
> java.lang.NoClassDefFoundError: org/apache/pluto/PortletWindow
> ....
> ....
>
> Why? I put all the pluto .jar files in the tomcat dir dommon/lib but nothing
> is changed...
>
> Can anyone help me? I think the problem is in the jsp page because the
> portlet variable is not initialized (as I though but I'm not sure...)
>
> Thanks in advance
>
>
>
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <title>JSP Page</title>
> </head>
> <body>
>
> <pluto:portlet portletId="${portlet}">
> <div class="portlet" id=">c:out value="${portlet}"/>">
> <div class="header">
> <h2 class="title"><pluto:title></pluto:title></h2>
> </div>
> <div class="body">
> <pluto:render></pluto:render>
> </div>
> </div>
> </pluto:portlet>
>
> </body>
> </html>
>
>
« Return to Thread: Re: JSP and Portlets
| Free embeddable forum powered by Nabble | Forum Help |