cancel
Showing results for 
Search instead for 
Did you mean: 

Calling JSP from Portal Component

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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