Notice
Recent Posts
Recent Comments
Link
목록URL요청주소 (1)
개발 무지렁이

SERVLET BEAN 설정을 javaBase로, @annotation 컨트롤러 클래스 자동스캔 🪅. Spring MVC 컨포넌트를 다음과 같은 @annotation으로 변환할 수 있다. web.xml => @WebServlet Handler Mapping => @RequestMapping ⚠️. MVC에서는 메서드로 호출X, URL 요청주소가 맞는 것이 중요하다. Controller => @Controller return: ModelAndView, String, void [RequestMappingController.java] ⚠️. URL 요청주소에 .do(쩜두)를 붙이는 것은 관례이다. @Controller @RequestMapping("/rem") public class RequestMapping..
Backend/스프링
2023. 5. 5. 17:07