li 的个人资料过眼云烟日志列表 工具 帮助
此共享空间没有音乐列表。

chu li

过眼云烟

1月28日

又faint了一把

1号的票眨眼又变成4号的啦
没有进到口袋还是不保险呀
晕!这样回家能待几天,麻烦,过年回个家真是不容易
faint

彻底怒了

这个世界太tm疯了,牛皮都涨到天上去了
一会一个拐点,一会一个牛市
tnnd,哄得这个世界tmd团团转;tmd“3、4年后考虑买房”眨眼变成了“40岁再考虑买房”,拜托你丫shut your mouth,不说话还好,tmd不要一会愚弄百姓,一会又要讨好sj,拐点去你妈的
1月18日

lp歌唱比赛得奖了

上周末lp参加了静安区百强公司卡拉ok大赛的决赛了,呵呵
结果捧了个团体第七名,:),离三等奖只有一步之遥,遗憾一个
不过结果还是不错的,小小收入1k。
呵呵,下次加油,至少前进个一名
1月17日

也说2007

好久没有来更新blog了,今天抽个空来说说刚过去的2007
感觉2007过得太快了,实习了大半年,又病了个小半年,就这么拖着病体跨过了
玩也怎么玩,学也没学到什么东西,一事无成
两个月前真是倒霉透了,手指肿了,被庸医耽误得感染了。后来直接推进手术室,嚓嚓两刀,连个麻药都没打,我忍;把黄纱布直接塞到手指肉里面,我再忍;直到手指被裹成了木乃伊。随后的两个月不停的打针,手背被打出一个个小洞;更可怕的是换药,取纱布,塞纱布,重新裹成木乃伊,我再忍。
终于折腾了无数次之后,终于也好得差不多了,也能再次用双手打字了,hoho,我要保护好我的小手--2007经验总结
7月9日

Have to refer to servlet

Most portals can't handle portlet content types other than 'text/html'. The reason is that the content has to be rendered inside the overall web page of the portal (which is generally in html) and it has no way to render other mime types within that page. So, in order to download a dynamically generated file (such as a Excel spreadsheet or a PDF) or to include a dynamically generated image in your portlet, you have to create a link to a non-portlet URL that will return the desired content. This is usually done with a traditional servlet from within the same webapp as your portlet. There are some important factors to consider when doing this:

  • Security: If the content coming from your servlets is at all sensitive in nature, you need to make sure they are secure and that a cut-and-paste of a URL doesn't give direct access to unauthorized users. If you are currently relying only on portal-based security, then this can be a problem. You will need to make sure that the servlet can properly verify the authentication and authorization of the user. The most likely way to do this is by sharing some session data between the portlet and servlet.