See PLT.16.3.3
The following methods of the HttpServletResponse must perform no operations:
setContentType, setContentLength, setLocale, addCookie, sendError,
5 sendRedirect, setDateHeader, addDateHeader, setHeader, addHeader,
setIntHeader, addIntHeader and setStatus.cxl The containsHeader method of
the HttpServletResponse must return false.

JSR-168 spec does not allow to modify cookie on portlet level, you should
achieve this by add a J2 org.apache.jetspeed.pipeline.valve.Valve, but this
is specific to j2.

HTH,
- Jian Liao

On 2/10/06, Philip Mark Donaghy <[EMAIL PROTECTED]> wrote:
>
> Try ((javax.servlet.http.HttpServletResponseWrapper
> )portletResponse).addCookie()
>
> I'm not sure off the top of my head. Check the javadocs.
>
> Phil
>
> On 2/8/06, mu baosen <[EMAIL PROTECTED]> wrote:
> > >
> > > Thanks for replying.
> >
> >
> >    I can not find the getResponse method in PortletResponse class.How to
> get
> > it?
> >
> >   Regards,
> >   Mubaosen
> >
> >
>
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
thanks,
- Jian Liao

Reply via email to