摘要:
@RequestMapping("") public ModelAndView index(HttpSession session) { Object data = session.getAttribute("user"); ModelAndView view =... 阅读全文
摘要:
Spring mvc中@RequestMapping 6个基本用法小结 小结下spring mvc中的@RequestMapping的用法。1)最基本的,方法级别上应用,例如:Java代码@RequestMapping(value="/departments")publicStringsimpleP... 阅读全文