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中在程序<%%> 沒辦法用 ${}方法取
spring mvc jsp 怎么取URL中的參數
慕姐8265434
2018-07-14 12:14:37