on 04-27-2006 3:42 PM
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
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
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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.