• Post Reply Bookmark Topic Watch Topic
  • New Topic

Response.addProperty(lCookie) does not work for JSR286 portlet

 
X Jin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have set the cookies by invoking the addProperty method :

Cookie lCookie = new Cookie("testCookie", data4Cookie);
lCookie.setPath("/");
Response.addProperty(lCookie);

in evironement IBM WPS 6.1 (JSR 286).

But, we cannot retrive the cookie that we have set, what's wrong in the configration ? Anyone can give us some suggestions, please ?

Thans in advance,

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!