Skip to Content
avatar image
Former Member

which package i has to import for invoking jsp

Hi all,

I want to display jsp page in portal

when i am creating java class using

public class GetNewAppraisalDetails extends AbstractPortalComponent

{

public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)

{

request.getLogger().info("Entering into CheckBox component");

response.write("calling pagelet checkresult.jsp");

IResource jspResource = request.getResource("jsp", "jsp/first.jsp");

response.include(request, jspResouce);

request.getLogger().info("Exiting from CheckBox component");

the package IResource is not found

for that which package i has to import

thank in advance

plese respond immediatly

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 29, 2004 at 09:50 AM

    I hope you've found already the needed includes but just in case try :

    import com.sapportals.portal.prt.resource.IResource;

    Add comment
    10|10000 characters needed characters exceeded