Skip to Content

ImageMap not working in PDK

Hi All

I am using the following code to implement an ImageMap in my portal component using jsps.

<% String ImageURL = componentRequest.getWebResourcePath() + "/images/"; %>" />

<hbj:imageMap id="imageMapID" >

   <hbj:imageArea areaType="RECTANGLE"



       tooltip="Click here to go to the SAP site" />





           tooltip="People Finder"



           src="<%= ImageURL +"welcome1.jpg" %>"

           alt="picture peopleFinder.jpg"


When I compile this and deploy to the local pdk portal i get the following error

java.lang.ClassNotFoundException: com.sapportals.htmlb.taglib.ImageMapTag

Any help on this is very appreciated


Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Jan 06, 2004 at 04:17 PM

    Stupid trick to get the message at the top of the forum.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2004 at 10:08 AM

    An update, based on the error message "java.lang.ClassNotFoundException: com.sapportals.htmlb.taglib.ImageMapTag" I opened the htmlb.jar from the location "irj ootWEB-INFpluginsportalserviceshtmlblib" using Winzip. And voila this class was not there.

    With this in mind my question is how do I get an updated htmlb.jar file containg the ImageMapTag class. FYI I asked some one who is working on EP60 to check his htmlb.jar file and this class is there.

    Any suggestions are welcome.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Pankaj Kumar

      Hi Pankaj,

      did you use it in a hbj-tag cell or a standard html <TD> ?

      Do you know a way to access the CM directly to store the images there?

      Cause the par gets too big with some more images attached... thnx!

      Cheers, Jens

      Btw. regarding your Blog:

      I deployed components from eclipse to the pdk remotely but debugging didn`t work so far...

      Maybe a permission thing?