在struts2中如果使用request.setAttribute("proCateMap", proApplyService.getProCateMap()); 存放的值,使用struts2的标簽就應該,用#request.proCateMap 來取值,如果直接用proCateMap是得不到值的。因為它們的作用域不一樣
在struts2中如果使用request.setAttribute("proCateMap", proApplyService.getProCateMap()); 存放的值,使用struts2的标簽就應該,用#request.proCateMap 來取值,如果直接用proCateMap是得不到值的。因為它們的作用域不一樣