
JavaEE
GodFamiliar
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
删除Cookie的两个步骤
[quote] Sets the maximum age of the cookie in seconds. A positive value indicates that the cookie will expire after that many seconds have passed. Note that the value is the maximum age when the coo...原创 2011-08-17 10:28:49 · 254 阅读 · 0 评论 -
spring持久层,业务层,控制层的注解名称
[code="java"] 在持久层、业务层和控制层分别采用 @Repository、@Service 和 @Controller 对分层中的类进行注释,而用 @Component 对那些比较中立的类进行注释 [/code]...原创 2011-12-31 10:24:55 · 1495 阅读 · 0 评论 -
HttpEntity调用getContent方法时的注意事项
今天调试程序时,debug到下面这段代码时出的问题,具体是大括号里面的那句: [code="java"] if(response.getEntity() != null && response.getEntity().getContent() != null) { message = IOUtils.toString(response.getEntity().getContent(...原创 2012-02-29 18:46:13 · 1049 阅读 · 0 评论