목록servlet (12)
한바다

☑️ [demoProject3-mybatis] 프로젝트 런에즈 실행시 아래와 같은 에러가 발생하였다.demo프로젝트 실행시 회원가입 페이지에서 에러가 발생하였다.에러가 발생한 원인은 아래와 같았다.[31mERROR[0;39m [35m10428[0;39m [2m---[0;39m [2m[demoProject3-mybatis] [nio-8086-exec-3][0;39m [2m[0;39m[36mo.a.c.c.C.[.[.[/].[dispatcherServlet] [0;39m [2m:[0;39m Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processin..

✅ 서블릿 실행 오류데모프레젝트 실행시 아래와 같은 오류가 발생하였다.An error happened during template parsing (template: "class path resource [templates/index.html]")org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/index.html]") ▶ 오류를 해결하기 위해 우선 index.html 파일부터 확인 하였다.아참. 금일 살짝 배운 디버그 찾는 방법을 흉내내 보았다.서브릿 이클립스 상단에 벌레모양 이모티 콘을 누른다.디버그로 짜잔 잡으려..

☑ 서블릿 이클립스에서 html 내 영어 오타가 나서 아래와 같이 오류가 났다.[오류코드]h3 id="message">h3>h3 id="num1">h3> script th:inline="javscript">[노출화면]위와 같이 에러코드가 ' An error happened during template parsing (template: "class path resource [templates/example/ex5.html]")' 라고 나오지만 정확히 어디에서 났는지는 나오지 않아 난감하다.나중에 debug로 잡을 수 있다고 하니 그때 다시 리뷰 하겠다!! [수정된 코드]h3 id="message">h3>h3 id="num1">h3> script th:inline="javascript">[정상 노출 화면]

서블릿 실행 오류✅ 데모 프로젝트 실행시 아래와 같은 오류가 떳다!Exception processing template "index": An error happened during template parsing (template: "class path resource [templates/index.html]") 브라우저에 로컬코드 입력후 실행시키니 아래와 같이 에러 화면이 노출되었다.[에러코드]2024-06-13T12:48:40.379+09:00[0;39m [31mERROR[0;39m [35m6696[0;39m [2m---[0;39m [2m[demoProject2] [nio-8081-exec-1][0;39m [2m[0;39m[36morg.thymeleaf.TemplateEngine ..

@RequestMapping기능: 다양한 HTTP 메서드(GET, POST, PUT, DELETE 등)에 대해 사용 가능.속성: method 속성을 사용해 특정 HTTP 메서드를 지정할 수 있음.@RequestMapping 을 쓰면 기본으로 return할 때 html 파일을 바라보겠다 classpath : src/main/resource기본경로에 앞에 붙여진 /templates/ 폴더가 html을 담는 공간파일명 마지막에는 항상 .html 이 붙는다.[코드]import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.RequestMapping; @Controllerpublic class Inde..

[web 통신 구조]Front-End : css, HTML, jsBack-End : java,database ▶WAS Web Application Server의 약자로 사용자가 요청한 서비스의 결과를 스크립트 언어 등으로작업을 해서 생성한 동적인 페이지를 사용자에게 보여주는 역할✓tomcat : Apache Software Foundation에서 Servlet과 JSP를 통한 동적인 웹문서를 처리하기 위해 만든 웹 애플리케이션 서버 ▶Web Server VS WAS구분장점단점WebServer- 빠른 처리 속도요청에 대한 결과 페이지만 전송- 구현이 쉬움HTML같은 단순한 문서만으로 구성- 한정적 서비스만들어진 정보만 보여주기 때문에 서비스가 한정적- 글의 추..