Skip to Content
0
Former Member
Sep 22, 2006 at 11:08 AM

Calling JSP from Portal Component

47 Views

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