我想在新窗口或选项卡中创建返回的模型和视图页面(jsp)。我的代码已附上..
@RequestMapping(value = "processDetails")
public ModelAndView getProcessDetails(HttpServletRequest request, HttpServletResponse response) {
String resourceId = request.getParameter("resourceId");
System.out.println("====resourceId:" + resourceId);
ModelAndView mv = new ModelAndView("inventory/processDetails");
List<SoftwareRunning> list4 = inventoryService.getSoftwaresRunning(resourceId);
mv.addObject("ProcessDetails", list4);
return mv;
}