%@page import="imageboard.dto.ImageboardDTO"%> <%@page import="com.oreilly.servlet.MultipartRequest"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% request.setCharacterEncoding("utf-8"); int seq = Integer.parseInt(request.getParameter("seq")); int pg = Integer.parseInt(request.getParameter("pg")); ImageboardDAO dao = new ImageboardDAO(); ImageboardDTO dto = dao.imageboardView(seq); request.setAttribute("seq", seq); request.setAttribute("pg", pg); request.setAttribute("imageId", dto.getImageId()); request.setAttribute("imageName", dto.getImageName()); request.setAttribute("imagePrice", dto.getImagePrice()); request.setAttribute("imageQty", dto.getImageQty()); request.setAttribute("imageContent", dto.getImageContent()); request.setAttribute("imageFile", dto.getImageFile()); RequestDispatcher dispatcher = request.getRequestDispatcher("../main/index.jsp?req=imageboardModifyForm"); dispatche"> <%@page import="imageboard.dto.ImageboardDTO"%> <%@page import="com.oreilly.servlet.MultipartRequest"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% request.setCharacterEncoding("utf-8"); int seq = Integer.parseInt(request.getParameter("seq")); int pg = Integer.parseInt(request.getParameter("pg")); ImageboardDAO dao = new ImageboardDAO(); ImageboardDTO dto = dao.imageboardView(seq); request.setAttribute("seq", seq); request.setAttribute("pg", pg); request.setAttribute("imageId", dto.getImageId()); request.setAttribute("imageName", dto.getImageName()); request.setAttribute("imagePrice", dto.getImagePrice()); request.setAttribute("imageQty", dto.getImageQty()); request.setAttribute("imageContent", dto.getImageContent()); request.setAttribute("imageFile", dto.getImageFile()); RequestDispatcher dispatcher = request.getRequestDispatcher("../main/index.jsp?req=imageboardModifyForm"); dispatche"> <%@page import="imageboard.dto.ImageboardDTO"%> <%@page import="com.oreilly.servlet.MultipartRequest"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% request.setCharacterEncoding("utf-8"); int seq = Integer.parseInt(request.getParameter("seq")); int pg = Integer.parseInt(request.getParameter("pg")); ImageboardDAO dao = new ImageboardDAO(); ImageboardDTO dto = dao.imageboardView(seq); request.setAttribute("seq", seq); request.setAttribute("pg", pg); request.setAttribute("imageId", dto.getImageId()); request.setAttribute("imageName", dto.getImageName()); request.setAttribute("imagePrice", dto.getImagePrice()); request.setAttribute("imageQty", dto.getImageQty()); request.setAttribute("imageContent", dto.getImageContent()); request.setAttribute("imageFile", dto.getImageFile()); RequestDispatcher dispatcher = request.getRequestDispatcher("../main/index.jsp?req=imageboardModifyForm"); dispatche">
<%@page import="imageboard.dao.ImageboardDAO"%>
<%@page import="imageboard.dto.ImageboardDTO"%>
<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%
request.setCharacterEncoding("utf-8");
int seq = Integer.parseInt(request.getParameter("seq"));
int pg = Integer.parseInt(request.getParameter("pg"));
ImageboardDAO dao = new ImageboardDAO();
ImageboardDTO dto = dao.imageboardView(seq);
request.setAttribute("seq", seq);
request.setAttribute("pg", pg);
request.setAttribute("imageId", dto.getImageId());
request.setAttribute("imageName", dto.getImageName());
request.setAttribute("imagePrice", dto.getImagePrice());
request.setAttribute("imageQty", dto.getImageQty());
request.setAttribute("imageContent", dto.getImageContent());
request.setAttribute("imageFile", dto.getImageFile());
RequestDispatcher dispatcher = request.getRequestDispatcher("../main/index.jsp?req=imageboardModifyForm");
dispatcher.forward(request, response);
%>