protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
MemberBean member = new MemberBean();
request.setCharacterEncoding("UTF-8");
member.setName(request.getParameter("name"));
member.setId(request.getParameter("id"));
member.setNickName(request.getParameter("nickName"));
member.setPassword(request.getParameter("password"));
member.setEmail(request.getParameter("email"));
member.setPhoneNumber(request.getParameter("phoneNumber"));
RequestDispatcher dispatcher = request.getRequestDispatcher("09_el.jsp");
request.setAttribute("member", member);
dispatcher.forward(request, response);
}
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
MemberBean member = new MemberBean();
member.setName(request.getParameter("name"));
member.setId(request.getParameter("id"));
member.setNickName(request.getParameter("nickName"));
member.setPassword(request.getParameter("password"));
member.setEmail(request.getParameter("email"));
member.setPhoneNumber(request.getParameter("phoneNumber"));
RequestDispatcher dispatcher = request.getRequestDispatcher("09_el.jsp");
request.setCharacterEncoding("UTF-8");
request.setAttribute("member", member);
dispatcher.forward(request, response);
}