2 Replies Latest reply on Oct 20, 2008 11:53 AM by n n

    HelloWorldJSPPortlet

    n n Newbie

      Hi
      I have followed steps in creating HelloWorldJSPPortlet and managed to use the war -as it is describ in the example - within the JBossPortal.
      I now would like to add the example to the eclispe and get it run in the eclipse IDE. But after adding the jsps (view.jsp and view2.jsp) which include <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %> line I am getting the following error:
      Cannot find the tag library descriptor for http://java.sun.com/portlet

      Does anyone know what to do?

      Best Regards,
      H

        • 1. Re: HelloWorldJSPPortlet
          Peter Johnson Master

          I had to read this post several times before I caught on that the error message is being displayed by Eclipse. I must be getting senile in my old age. ;-)

          You need to add the tag library, or the jar file containing the tag library, to your portlet's Eclipse project. That specific tag library is located in jboss-portal.sar/lib/portal-portlet-lib.jar. After you add this jar file to your project, you might have to close and reopen the jsp file to get the jsp editor to realize that it now has access to the tld file.

          • 2. Re: HelloWorldJSPPortlet
            n n Newbie

            Thanks very much!

            All The best!
            N