I figured it out...

If someone else is looking to do this:

Since you are opening a new session you need to go one level back and get
the servlet context itself before setting any attributes.

This can be done using:
request.getSession().getServletContext().setAttribute("a",a);
...
request.getSession().getServletContext().getAttribute("a"); //external
webapp in a new window

Thanks,
Akshay

On 7/17/06, Akshay Ahooja <[EMAIL PROTECTED]> wrote:

Hi,

I have some external previously made apps that I would like users to be
able access from Jetspeed. Instead of just creating a link to the page, I
would like to pass the external app some user information that can be used
for attribute purposes.

How would I pass values from a Jetspeed-2 Portlet to a new regular web app
window? (both Struts Based)

I don't think that setAttribute would work since it would open up a whole
new session right?

Thanks,

Akshay

Reply via email to