JSP Provider

Hello,

A while ago there was a posting in this newgroup with a question how to

use JSP (including the JSPProvider class) outside the JSP channel.

If I remember correctly the solution was to import a particular library or

class

in the jsp page. Unfortunately this posting isn't available anymore in the

newsgroup. Can anyone provide the correct answer?

Twan

[413 byte] By [708768] at [2007-11-25 4:29:18]
# 1

Hi,

I posted that message a while back.

The docs describe what you need to do if you want to access portal session information

outside the portal server. I put the JSP on the same webserver so I didn't need to bother

with all the right libraries.

The JSP code goes as follows:

<%@ page import="java.util.*,com.iplanet.portalserver.session.*"%>

<% Session sess = Session.getSession(new SessionID(request)); %>

Session ID <%= sess.getClientID()%>

I hope this helps

Bob

> Hello,

>

> A while ago there was a posting in this newgroup with a question how to

> use JSP (including the JSPProvider class) outside the JSP channel.

> If I remember correctly the solution was to import a particular library or

> class

> in the jsp page. Unfortunately this posting isn't available anymore in the

> newsgroup. Can anyone provide the correct answer?

>

> Twan

>

>

>

708768 at 2007-6-30 21:15:37 > top of Java-index,Web & Directory Servers,Portal Servers...