Package kr.or.javacafe.member.dao

Examples of kr.or.javacafe.member.dao.MemberDAO


      ServletContext sc = ((HttpServletRequest) pageContext.getRequest()).getSession().getServletContext();

      WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(sc);    
      //ApplicationContext applicationContext = WebApplicationContextUtils.getWebApplicationContext(sc);
     
      MemberDAO memberDAO = (MemberDAO)ctx.getBean("memberDAOImpl");

      User param = new User();
      param.setId(empNo);
      User user = memberDAO.selectUser(param);
     
      if (null != user) {
        return user.getName();
      } else {
        return "";
View Full Code Here

TOP

Related Classes of kr.or.javacafe.member.dao.MemberDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.