摘要:
@RequestMapping("") public ModelAndView index(HttpSession session) { Object data = session.getAttribute("user"); ModelAndView view =... 阅读全文
posted @ 2015-07-25 21:24
Seaurl
阅读(317)
评论(0)
推荐(0)
摘要:
Spring mvc中@RequestMapping 6个基本用法小结 小结下spring mvc中的@RequestMapping的用法。1)最基本的,方法级别上应用,例如:Java代码@RequestMapping(value="/departments")publicStringsimpleP... 阅读全文
posted @ 2015-07-25 15:56
Seaurl
阅读(234)
评论(0)
推荐(0)