[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-2361) Using PortletResponse.addProperty(javax.servlet.http.Cookie) does not set the cookie in the response

Magesh Kumar B (JIRA) jira-events at lists.jboss.org
Tue Mar 31 04:24:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBPORTAL-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459794#action_12459794 ] 

Magesh Kumar B commented on JBPORTAL-2361:
------------------------------------------

PLT.12.5.3 Access to Response Headers
A portlet can set HTTP headers for the response via the setProperty or addProperty call in the MimeResponse. To be successfully transmitted back, headers must be set before the response is committed. Headers set after the response is committed will be ignored by the portlet container.

Even this does not work.

> Using PortletResponse.addProperty(javax.servlet.http.Cookie) does not set the cookie in the response
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBPORTAL-2361
>                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2361
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Portlet
>    Affects Versions: 2.7.0 Final
>            Reporter: Magesh Kumar B
>            Assignee: Thomas Heute
>
> According to spec PLT.12.1.4 Setting Cookies
> "A portlet can set HTTP cookies at the response via the addProperty method with a
> javax.servlet.http.Cookie as parameter."
> But this does not seem to be implemented.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list