示例#1
0
 public String doCreate() {
   logger.debug("#. doCreate .s");
   logger.debug("---" + ReflectionToStringBuilder.toString(user));
   userDao.insert(user);
   user = new User();
   return "input";
 }
示例#2
0
 public String input() {
   logger.debug("#. input .s");
   logger.debug("---" + ReflectionToStringBuilder.toString(user));
   getContext();
   logger.debug("dao = " + userDao);
   userDao.findAll();
   return "index";
 }