목록2024/07/02 (2)
wintertreey 님의 블로그
https://blog.naver.com/sweety_dnwjd/223468961418?trackingCode=blog_bloghome_searchlist 전에 처음 리다이렉트, 포워드를 접했을때 정리했던 내 블로그 글. 값을 전달하는 두가지 방법이라는것은 알겠지만, 그래서 둘의 차이, 이용상황등의 구분이 되지 않는다. 좀 더 명확히 확인해보자. 리다이렉트와 포워드의 공통점특정 url접속시 리다이렉트 또는 포워드가 일어나게 되면 작업중인 페이지가 전환된다. 그러나 둘은 페이지를 전환하는 주체가 다른데, 이 부분이 큰 영향을 끼치게 된다. 리다이렉트와 포워드의 차이점리다이렉트(Redirect) 'URL을 다시 가리킨다는 뜻. '클라이언트, 여기서는 보통 웹서버, 는 해당 url로 다시 요청하게 된다. 페이..
Views : 사용자 Controller(Servlet) : 중개자Model : 디비연결MyBatis상품보기go.htmlControllerService / CommandInter, SangpumImplMessageModel / SangpumDto, SqlMapConfig,Configuration,DataMapperdb.properties ControllerService.javapackage pack.controller;import java.io.IOException;import java.util.StringTokenizer;import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet..