摘要: 写一个Servlet时,有时需要我们重写该Servlet的初始化方法,然后,究竟是重写init(ServletConfig config),还是重写init(),这是个问题。要明了这一点,首先要知道Servlet的几个类和接口的联系: ServletConfig接口:其中有getServletNam 阅读全文
posted @ 2012-11-22 17:58 北鱼扶摇 阅读(7) 评论(0) 推荐(0) 编辑