cancel
Showing results for 
Search instead for 
Did you mean: 

JSP Dynpages

holger_stumm2
Active Contributor
0 Kudos

I created a JSP Dynpage via NWDS.

based on the sampples at <a href="http://help.sap.com/saphelp_nw04/helpdata/en/19/4554426dd13555e10000000a1550b0/frameset.htm">SAP Help Creating the JSPDynPage</a>

When I run it, I got the error:

Error in parsing taglib 'tagLib' tag in web.xml or .tld file of the taglib library..

Any point where I can start looking? Is anyone having a better documentation to look at than this rather puristic description?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Holger Stumm,

Have you updated your portalapp.xml file?

I think you are getting this error because you have not updated your portalpp.xml properly.

Go thro this link..This will help you to learn more about EP development.

Regards,

Karthick

holger_stumm2
Active Contributor
0 Kudos

Thanks for your input.

Do you have any specific links for JSPDynpages? Since most of the DevStuff is about WebDynpros, which I don't plan to use here.

I updated portal.app, but I am not sure if it is right:

<?xml version="1.0" encoding="utf-8"?>

<application>

<application-config>

<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>

<property name="SharingReference" value="htmlb"/>

</application-config>

<components>

<component name="log2UME">

<component-config>

<property name="ClassName" value="log2UME"/>

<property name="ComponentType" value="jspnative"/>

<property name="JSP" value="pagelet/log2UME.jsp"/>

</component-config>

<component-profile>

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

</component-profile>

</component>

</components>

<services/>

</application>

and the jsp page:

%-- OutputText.jsp --%>

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

<hbj:content id="myContext" >

<hbj:page title="PageTitle">

<hbj:form id="myFormId" >

<hbj:textView

id="welcome_message"

text="May the force be with you unknown user"

design="HEADER1" />

</hbj:form>

</hbj:page>

</hbj:content>

Former Member
0 Kudos

Hi Holger,

Some corrections/changes are needed.

1)Remove these 2 lines from the portalapp.xml.

<property name="ComponentType" value="jspnative"/>

<property name="JSP" value="pagelet/log2UME.jsp"/>

2)Also taglib path is wrong. It should be

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

3)Change PrivateSharingReference to SharingReference.

<property name="SharingReference" value="com.sap.portal.htmlb"/>

Check out and reply if any issues.

Regards,

Harini S

Former Member
0 Kudos

hi Holger,

Modify the corrections suggested by Harini and have a look at

http://help.sap.com/saphelp_nw2004s/helpdata/en/95/cfa441cd47a209e10000000a155106/frameset.htm

Regards,

Ganesh N

Answers (0)