67,513
社区成员
发帖
与我相关
我的任务
分享
public class CustomViewPreparer implements ViewPreparer {
@Override
public void execute(TilesRequestContext tilesRequestContext, AttributeContext attributeContext) {
// TODO Auto-generated method stub
System.out.println("=====================================000000000000000000=====================");
HttpServletRequest request=(HttpServletRequest) tilesRequestContext.getRequest();
HttpSession session=request.getSession();
List<AuthDto> XXX=(List<AuthDto>)tilesRequestContext.getSessionScope().get("XXX");
attributeContext.putAttribute(
"XXX",
new Attribute(XXX));
}
}