private String getBoardName() {
if (null != bbsId) {
ServletContext sc = ((HttpServletRequest) pageContext.getRequest()).getSession().getServletContext();
WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(sc);
BoardDAO boardDAO = (BoardDAO)ctx.getBean("boardDAOImpl");
Bbs param = new Bbs();
param.setBbsId(bbsId);
Bbs bbs = boardDAO.selectBbs(param);
return bbs.getBbsNm();
}
return "";