cancel
Showing results for 
Search instead for 
Did you mean: 

How do I reach an WebApplication JSP from a portal component

Former Member
0 Kudos

Hi all

I have a webapplication deployed as an EAR to my portal, which I can reach by the URL

http://[<i>servername</i>]:[<i>port</i>]/[<i>webapplication</i>]/[<i>jsp-page</i>].

I'm now trying to reach this jsp-page from a portal component located at

http://[<i>servername</i>]:[<i>port</i>]/irj/servlet/prt/portal/prtroot/[<i>package</i>].[<i>compone...;

with an JSPDynPage.

I would also like to pass an parameter to webapplication jsp-page.

How should I do to reach this JSP-page?

Is the JSPDynPage the right approach?

Any suggestions or help would be appreciated.

Best regards

M. Lofberg

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Any one else with some greate ideas?

Any suggestions or help would be appreciated

Best regards

M. Lofberg

Former Member
0 Kudos

Mikael,

I think there is no need to go for a JSPDynPage to access the jsp in portal. Instead you can go for an URL iView in the portal and can refer the jsp url. Through URL iView you can also pass the parameter.

Let me know for any clarifications.

Regards,

Chandra

Former Member
0 Kudos

Hi Chandra and thanks for your reply

I'll give you the full senario:

I have an article published in the portal, this article is published by a own developed publishingtool. The format of the article is not a plain html-page. So the first thing I do is to save this article as an html-file in the same folder as the article. That's no problem. Then I will pass the URL to the saved html-file to a jsp-page which uses a custom tablib (PD4ML) to convert this html-file to a pdf-file.

To get the conversion from html to pdf to work I had to deploy the jsp and taglib as a webapplication in the portal. And it's working fine.

So it's the step in the middle I'am having problems with.

How to pass the URL to the converting jsp and display the result of that jsp-page in the browser.

And what I want to do, is to put a menu option in the context menu for the article "Save As PDF", and the result will be a pdf opend in the browser with Acrobat reader, or a dialog letting the user save the pdf-file localy.

Any suggestions?

Regards

Mikael