Skip to Content
0
Mar 01, 2006 at 02:58 PM

J2EE library cannot be seen from a JSP page

28 Views

I have a J2EE library that I have deployed to the J2EE on the portal server. The JSPDynPage can uses classes the library with no problems.

However, when I try to use the classes in the library from a jsp page, imports cannot be seen:

package edu.bcm.sap.ccb.transferobjects.docs does not exist

My work-around is to add the jar contained in the Library directly to dist\PORTAL-INF\lib\

This is not the perferred solution; the J2EE library should be visible from the jsp. What gives?

portalapp.xml:

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

<application>

<application-config>

<property name="SharingReference"

value="com.sap.portal.htmlb,SAPJ2EE::library:bcm.edu/CCB_TO_LIB"/>

</application-config>

<components>

<component name="Inbox">

<component-config>

<property name="ClassName" value="edu.bcm.sap.portal.ccb.Inbox"/>

<property name="SecurityZone" value="edu.bcm.sap.portal.ccb.Inbox/no_safety"/>

</component-config>

<component-profile>

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

</component-profile>

</component>

</components>

<services/>

</application>