WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(application);
BookStockChecker checker = (BookStockChecker) context.getBean("bookStockChecker");
pageContext.setAttribute("books", checker.getLowStockBooks());
posted on 2006-07-19 09:09
god4hell 阅读(583)
评论(0) 编辑 收藏