ITeye博客

url上传参数

fantaoyalin · 2012-04-20 12:58 · httpsession · annotation · 企业架构 · annotation · HttpSession · Markdown

[size=large][code="java"]@RequestMapping(value = "/event/{id}", method = RequestMethod.GET) public String detail(HttpServletRequest request,@PathVariable Long id) { Event event = eventManager.getEventByEventID(id); request.setAttribute("event", event); return "/event/event_detail"; }[/code] 前台jsp页面传参 [code="java"]

第${status.count}阶段  ${dd}

@RequestMapping(value = "/event/{bid}") public String showRootBand(@PathVariable(value = "bid") int bandId, ModelMap model) {}[/code][/size]

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。