Ejemplo n.º 1
0
  @Override
  public ActionForward execute(HttpServletRequest request, HttpServletResponse response)
      throws Exception {
    // TODO Auto-generated method stub

    ActionForward forward = new ActionForward();
    forward.setUrl("mypage/memberInfoPasswd.jsp");
    return forward;
  }
Ejemplo n.º 2
0
  @Override
  public ActionForward execute(HttpServletRequest request, HttpServletResponse response)
      throws Exception {
    // TODO Auto-generated method stub
    int num = Integer.parseInt(request.getParameter("postNum"));
    String pageNum = request.getParameter("pageNum");

    BoardUpdateFormService boardUpdateFormService = new BoardUpdateFormService();

    BoardVO article = boardUpdateFormService.getArticle(num);
    request.setAttribute("article", article);
    request.setAttribute("pageNum", pageNum);
    ActionForward forward = new ActionForward();
    forward.setUrl("/board/updateForm.jsp");
    return forward;
  }