MVC2 [Spring] MVC 데이터 전송 예제 index.jsp Hello World 링크1 링크2 name 보내기(@RequestParam) name age 보내기(@RequestParam) name age 보내기(HttpServletRequest request) TigerView로 데이터 전송 name age 보내기(toss toss) Tiger.java 💱Controller package Pack01; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping.. IT EDU/SPRING 2022. 3. 10. [Spring] MVC를 위한 Maven 프로젝트 생성 MVC를 위한 Maven 프로젝트 생성 setting 1 setting 2 pom.xml 4.0.0 Mvc01 Mvc01 war 0.0.1-SNAPSHOT Mvc01 Maven Webapp http://maven.apache.org junit junit 4.13 test org.springframework spring-webmvc 5.3.10 javax.servlet javax.servlet-api 4.0.1 javax.servlet.jsp jsp-api 2.2 javax.servlet jstl 1.2 org.apache.maven.plugins maven-compiler-plugin 3.0 11 11 org.apache.maven.plugins maven-war-plugin 3.3.2 setting 3.. IT EDU/SPRING 2022. 3. 10. 이전 1 다음