Current Position:Home > Page Imports in Abstract Portal Component

Page Imports in Abstract Portal Component

Update:11-30Source: network consolidation
Advertisement
Hi,
I have created an abstract portal component where I have called a JSP using IResource.
The JSP is called and displayed.
<%@ page import = "java.util.*;" %>
<%@ page import = "com.sapportals.portal.prt.component.*;" %>
<html>
<body>
hello
</body>
</html>
In my JSP the moment I add the second import i.e. prt.runtime, it throws an error when I run the application:
Error when rendering jsp.
Am I missing out something?

The Best Answer

Advertisement
Hi Prem,
Add that particular jar file in the lib folder of your application and also add it to the build path of your project properties.
<b>Project -> Properties -> Java Build Path -> Libraries</b>
Add to this build path as well.
I hope this helps you.!!
Regards
Pravesh
PS: Please consider rewarding points if solved and helpful.
  • Page Imports in Abstract Portal Component Update:11-30

    Hi, I have created an abstract portal component where I have called a JSP using IResource. The JSP is called and displayed. <%@ page import = "java.util.*;" %> <%@ page import = "com.sapportals.portal.prt.component.*;" %> &

  • Difference between Abstract portal Component and JSPDyn page. Update:10-11

    Hi Experts, What is the difference between Abstract portal Component and JSPDyn page. Thanks, Jay.Hi, The PDK provides two methods for creating a portal component: Abstract Portal Component The Abstract Portal Component class offers a lean method for

  • Urgent Please help me... How to access BAPIs from abstract portal component Update:10-11

    I am developing an application in Abstract Portal Component (in PDK). In that application I can able to acess BAPIs from my Componets using the code like inputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Input(); outputPopSearchBapi = new Zad_Bapi_Po

  • Abstract Portal component - KM Html Update:11-30

    Hi, We are developing an external facing portal wherein the Home page has 6 components. In that 5 components are static components which refer to the HTML file in the KM repository. For that I have made KM document iview and given the path of the HTM

  • How to use UI elements in abstract portal component Update:11-30

    hi all i am new to portal development..i want to use different UI elements such as textbox,buttons using abstract portal component.can anyone telme how to use them.Yes Asusha You can use JSP , JSPDyn pages in Abstract portal component. You can call a

  • Use WebDynpro JCO Destination in Abstract Portal Component Update:11-30

    Hello, I was wondering if it is possible to use a WebDynpro JCo Destination in an Abstract Portal Component? I have a portal component that make as JCO call to run an rfc. I get the MYSAPSSO2 ticket from the cookie and pass this in to the JCO client.

  • Accessing portal service from abstract portal component Update:11-30

    Hi I have created a portal service where it contains getdata() and putdata(String) methods. I have created a abstract portal component and trying to access the portal service from this component. In portalapp.xml file of the portal component i have c

  • IPortalComponentRequest in JSP from Abstract Portal component Update:11-30

    Hi, I have an abstract portal component like this: import com.sapportals.portal.prt.component.*;import com.sapportals.portal.prt.resource.IResource;public class Nav2 extends AbstractPortalComponent{    public void doContent(IPortalComponentRequest re

  • Redirecting from an abstract portal component Update:11-30

    Hi, I'm trying to redirect from an abstract portal component to a quicklink. I do it like told in this thread: Redirecting to external website from abstract portal component? private void redirectUrl(String target, IPortalComponentRequest request) {

  • Refreshing a Abstract Portal Component in Specific Intervals Update:11-30

    Hi All, I have developed an Abstract Portal Component which reads Data from an XML File which is stored in KM. Requirement : I need to REFRESH this iView for every 5 Minutes-Automatically (Just like Websites showing Live Cricket Scores), to read the