Skip to Content
author's profile photo Former Member
Former Member

JSPDynPage Runtime Error

Hello Friends,

I created a portal component through Eclipse that includes a loader class(DynPage), a JSPDynPage ,a bean and two jsp files. The deployment was successful and a par file was created. When i executed it i got a runtime error that says something like this...

<b>com.sapportals.portal.prt.component.PortalComponentException: Error in parsing taglib 'tagLib' tag in web.xml or .tld file of the taglib library.</b>

Can anybody help me in sorting this out?.

Thanks in advance.

Regards,

Tamilarasan.

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Aug 06, 2004 at 06:09 PM

    Tamilarasan

    This might be due to some configuration setup. Best way to isolate this right now is to create a very simple DynPage or for that matter AbstractPortalComponent and make it output some simple thing as "Hello World". Then deploy it to see if that works. This would prove that all your settings for Eclipse and PDK are correct.

    On a separate note have you looked at the PDK Developer's Portal(which comes with the PDK install) and the examples in it. It has some good tutorials in it.

    Pankaj

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 07, 2004 at 06:55 AM

    It means that SAP Portal Runtime is looking to access the set of tags defined in the tag library which is accessed by using “tagLib”.

    The following entry has to be in the portalapp.xml. Check whether it is there.

    <component-profile>

    <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>

    </component-profile>

    Once the above specified entry is made. Then you have to add the following line of code in the JSP file.

    <%@ taglib uri="tagLib" prefix="hbj" %>

    Regards

    Raja

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Michael Portner

      Hi,

      Thank U. My problem is solved. Actually i forgot to include the entry tagLib in the default.properties file. Now its working fine. And regarding the pagelet folder the folder is present in the Eclipse IDE navigator itself. I created the JSP Files there and whichever folder holds a file is created under the irj/WEB-INF/plugins/portal/resources/<projFolder>/.

      But i do like to know about this portalapp.xml. Still iam unable to locate the <PAR_File>\dist\PORTAL-INF\ and the 'Deployment Descriptor' link in the "Getting Started" section.

      Thank u once again.

      Regards,

      Tamilarasan.