users@glassfish.java.net

Re: OpenPortal Portlet Container

From: Manish Gupta <Manish.K.Gupta_at_Sun.COM>
Date: Fri, 07 Dec 2007 19:48:30 +0530

This should work fine. Can you please provide us your code to test this?
Also, a better forum for this question is
users_at_portlet-container.dev.java.net

Regards
Manish.


glassfish_at_javadesktop.org wrote:
> I have a question mainly about the JSR 168 specification. I understand that session data can be shared between servlets, jsps, and portlets in a portlet application using APPLICATION_SCOPE. Hence, i did the following to attempt to pass URL input parameters into a portlet.
>
> 1. Link to a servlet i wrote that dumps input parameters to the http session. It is located in the portlet war file.
> 2. Redirect the request to the portal page containing the target portlet.
> 3. Extract the parameters from the PortletSession using APPLICATION_SCOPE.
>
> This works in Websphere 5.1, haven't tried in later versions, but does not in the OpenPortal Portlet Container in which i like to test. So which is adhering to the spec ? I am guessing what i am doing might be outside the spec in the fact that i am putting stuff in the session before the actual portlet itself is initialized.
>
> Any help or clarifications on whether my approach is valid per JSR 168 would be appreciated.
>
> Thanks !
> [Message sent by forum member 'jrust1978' (jrust1978)]
>
> http://forums.java.net/jive/thread.jspa?messageID=249036
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>