渔人码头

天行健,君子以自强不息。地势坤,君子以厚德载物。
posts - 12, comments - 16, trackbacks - 0, articles - 43
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

Java 学习笔记

学习Java中的一些小心得,一些值得注意的方面
     摘要: intern()得到的String之间的==  阅读全文

posted @ 2007-03-11 21:09 Fisher 阅读(457) | 评论 (0)  编辑 |

     摘要: String 与 char[] 的问题  阅读全文

posted @ 2007-02-13 16:53 Fisher 阅读(436) | 评论 (1)  编辑 |

     摘要: Spring中常见数据源的配置参数

一共分为直接连接、连接池、jndi绑定三种  阅读全文

posted @ 2006-12-27 14:32 Fisher 阅读(1002) | 评论 (0)  编辑 |

     摘要: 类修饰词可见性  阅读全文

posted @ 2006-12-22 12:15 Fisher 阅读(379) | 评论 (0)  编辑 |

     摘要: ,HashMap和Hashtable及HashSet的区别  阅读全文

posted @ 2006-12-13 10:22 Fisher 阅读(37456) | 评论 (0)  编辑 |

     摘要: ArrayList和Vector的区别  阅读全文

posted @ 2006-12-13 10:20 Fisher 阅读(830) | 评论 (0)  编辑 |

     摘要: 关于HttpURLConnection.setFollowRedirects
public static void HttpURLConnection.setFollowRedirects(boolean followRedirects)
public void HttpURLConnection.setInstanceFollowRedirects(boolean followRedirects)

前者设置所有的http连接是否自动处理重定向;
后者设置本次连接是否自动处理重定向。
设置成true,系统自动处理重定向;设置成false,则需要自己从http reply中分析新的url
自己重新连接。
  阅读全文

posted @ 2006-12-11 16:13 Fisher 阅读(11166) | 评论 (1)  编辑 |