cancel
Showing results for 
Search instead for 
Did you mean: 

JspDynpage

Former Member
0 Kudos

Hi All,

I have a jspdynpage application. Using Sharing Reference i am calling an EJb. I am giving the EJB name in project reference. But which importing a class inside EJB into jsp page, it is throwing portal runtime Exception. How else can i do it.

Import statement:-

<%@ page import="sap.com/My_DTOclass" %>

Sharing Reference :-

SAPJ2ee::sap.com/MyDTO_EAR

Project Reference :- MYDTO_EJB and MyDTO_EAR

JavaBuildPath :-

Library - added the EJb

Project - MYDTO_EJB

But then when i try to import the class. why it is throwing runtime Exception. Can anyone please help me out in this issue?

Thanks and Regards,

Divya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I feel you might have mispelled the sharing reference in portalapp.xml.

Pelase check the same using the link

http://help.sap.com/saphelp_nw04/helpdata/en/88/bdfc3f48ecc742e10000000a1550b0/frameset.htm

Also check if it is case sensitive..

Please go through this thread,might be useful

Former Member
0 Kudos

Hi Santhosh,

I have tried using giving the sharing reference. But still no use. Is there any other steps to be done??

Thanks and Regards,

Divya

Former Member
0 Kudos

Hi All,

I gave sharing reference as "SAPJ2ee::sap.com/MyDTO_EAR". I am able to see all the methods declared in the EB. But if i try to access any methods, it throws an Exception.

How can i resolve this issue?

Regards,

Divya

Former Member
0 Kudos

resolved

Former Member
0 Kudos

If you can post the solution,it would be very helpful for others who are looking out for assistance on similar kind of issues.

Marking thread as answered also helps

Former Member
0 Kudos

Hi All,

I was actually referring to the wrong EJB and hence was not able to access the methods.

Thanks,

Divya