Jason H.

ALL AROUND THE WORLD!

导航

随笔分类 -  WEB

破解 JSR-168 portlet规范 —— 不要从Portlet发送Cookie
摘要:6. 不要从Portlet发送Cookie   根据JSR-168 portlet规范,在HttpServletResponse上调用addCookie()实际上不会设置一个cookie。允许设置cookie的portlet容器被打破。不要调用此方法。  如果您喜欢在用户使用门户的时候基于每位用户持久存储信息,那么可以将信息存储为portlet会话中的一个属性。如果您喜欢在用户退出后持久存储信息,... 阅读全文

posted @ 2009-06-25 12:52 Jason H. 阅读(345) 评论(0) 推荐(0)

The Secret of Character Encoding
摘要:UTF-8: The Secret of Character EncodingFiled under End-UserReturn to the index.HTML Purifier End-User DocumentationCharacter encoding and character sets are not that difficult to understand, but so ma... 阅读全文

posted @ 2009-06-09 10:24 Jason H. 阅读(986) 评论(0) 推荐(0)