摘要:
}区别HashtableHashmap继承、实现Hashtable extends Dictionary implements Map, Cloneable,SerializableHashMap extends AbstractMap implements Map, Cloneable,Serializable线程同步已经同步过的可以安全使用未同步的,可以使用Colletcions进行同步Map Collections.synchronizedMap(Map m)对null的处理Hashtable table = new Hashtable();table.put(null, "N 阅读全文
摘要:
@Controller@RequestMapping(value="/login")@SessionAttributes("userName")public class LoginController { @RequestMapping(method=RequestMethod.POST) public ModelAndView validateDispacher(@RequestParam String id, @RequestParam String pass, ModelAndView mv) { mv.addObject("userNa 阅读全文