@Override
  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
    logger.info("detail servlet doGet:" + request.getRemoteAddr());
    
    userLogInTest(request, response);
    
    String option = "bogus";
    String key = "0";
    
    Enumeration<String> paramz = request.getParameterNames();
    while (paramz.hasMoreElements()) {
      String name = (String) paramz.nextElement();
      String[] valuez = null;
      try {
        valuez = request.getParameterValues(name);
      } catch(Exception exception) {
        valuez = new String[1];
        valuez[0] = "exception";
      }
      
      if (name.equals(Constant.STUNT)) {
        option = valuez[0];
      } else if (name.equals(Constant.KEY)) {
        key = valuez[0];
      } else {
        logger.warning("unknown param:" + name + ":");
      }
    }
    
    VideoTitleService vts = new VideoTitleServiceImpl();
    
    if (option.equals(Constant.INSERT)) {
      //empty
    } else if (option.equals(Constant.DELETE)) {
      vts.deleteVideoTitle(new Long(key));
    } else if (option.equals(Constant.EDIT)) {     
      VideoTitle editTarget = vts.selectVideoTitle(new Long(key));
      request.setAttribute(Constant.EDIT_TARGET, editTarget);
    }
    
    try {
      RequestDispatcher requestDispatcher = request.getRequestDispatcher("/video_detail.jsp");
      requestDispatcher.forward(request, response);
    } catch(Exception exception) {
      exception.printStackTrace();
    }
  }