spring mvc
@RequestMapping("/list-{categoryId}-{pageIndex}")
public String newsList(HttpServletRequest request, Model model, @PathVariable Long categoryId, @PathVariable Long pageIndex) {
jsp 怎么取URL中的参数
String aa = (String) request.getAttribute("pageIndex");
这样直接取取不到.
如果
model.addAttribute("pageIndex", pageIndex);
前台JSP中在程序<%%> 没办法用 ${}方法取
慕的地6079101
慕雪6442864
慕村225694
一只萌萌小番薯