cancel
Showing results for 
Search instead for 
Did you mean: 

Help in importing the package for htmlb

Former Member
0 Kudos

Hi Friends,

I'm pretty new a Portal developement in Java. Can you please help regarding this issue.

1. i have installed C:\j2sdk1.4.2_09. I did settings for all classpath of jar files.

2. In Netweaver Developer studio, when i tried to import the following packages , it throws errors

The packages are

import com.sapportals.htmlb.*;

import com.sapportals.htmlb.event.Event;

import com.sapportals.htmlb.page.DynPage;

import com.sapportals.htmlb.page.PageException;

import com.sapportals.portal.htmlb.page.PageProcessorComponent;

can please let me know, what i have to do to overcome this problem. Appreciate your help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

For whatever reason, SAP requires that you add a reference to them within you application and project for that sake.

On your project do the following:

1) Right click on the project

2) Select add/remove additional libraries

3) Expand sap.com and put a check next to com.sapportals.htmlb

4) click OK button

It will give you a message window after you click OK which states something like you have to add the reference to the application. Follow the next steps to add the referece to you application.

1) Expand you application

2) double click on application-j2ee-engine.xml

3) Select references and click add

4) click on the "select library/interface/service" button

5) Select the same package as above and click OK.

Build both and deploy.

Answers (0)