Skip to Content
avatar image
Former Member

Calling JSP from Portal Component

Hi all,

I have developed Portal Application from which I need to call my JSP page that is included in Portal Component.

If I'm trying to access JSP page I'm getting message 'Directory web-inf is not accessible for browsing'. I tried to allow directory listing on Portal server (with Visual Admin) but with no success.

My code:

IResource res = request.getResource(IResource.JSP, "jsp/export.jsp");
String purl = res.getResourceInformation().getURL(request);

Than I am calling 'purl' address via HTML Form (or via standard HTML link), but it allways returns same error message.

Does anybody know how to solve this problem? Or is any other way how to call JSP page from Portal Component?

Many thanks for help,

Regards,

Pavel

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 22, 2006 at 11:42 AM

    Hi

    See this Thread

    /message/1265003#1265003 [original link is broken]

    /message/690749#690749 [original link is broken]

    /message/1265007#1265007 [original link is broken]

    Kind Regards

    Mukesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mukesh,

      thanks for links, but I can see, that all solutions pointing at including of resources.

      But I need for example open my JSP in new window or send to this page data through standard HTML form. I have its URL address, but it is not accessible.

      Does anybody know what this problem is caused by?

      Many thanks,

      Pavel

      Message was edited by: Pavel Stirek