카테고리 없음

[spring] 웹페이지 만들기

개발자_이훈규 2017. 7. 7. 19:59

template engine

http://docs.spring.io/spring-boot/docs/1.2.3.RELEASE/reference/htmlsingle/#boot-features-spring-mvc-template-

(이 중에 velocity를 가장 많이 사용한다고 한다)

(하지만 velocity는 deprecate되었다.)


thymeleaf engines

http://www.thymeleaf.org/index.html


thymeleaf + spring document

http://www.thymeleaf.org/doc/tutorials/3.0/thymeleafspring.html


Example blog

https://www.mkyong.com/spring-boot/spring-boot-hello-world-example-thymeleaf/



apache tiles3 + spring boot

http://www.devglan.com/spring-boot/spring-boot-mvc-apache-tiles-example


slider 

http://idangero.us/swiper/get-started/#.WWLcgdPyimk



체크할 것들(안하면 시간 낭비 가능성 높음)

jsp에서 한글깨짐

spring boot에서 한글 필터

css file이 reload되지 않는 문제

test/java를 사용하지 않을거면 ignore 시키기(링크)



bootstrap code 참고 사이트

https://bootsnipp.com/



spring boot에서 jsp 게시판 만들기

http://private.tistory.com/35



html에서 javascript로 dialog띄워서 값 입력받는것

https://www.formget.com/jquery-dialog-form/

http://blog.kichul.co.kr/2013-08-05-Modal/

(bootstrap) https://www.w3schools.com/bootstrap/bootstrap_ref_js_modal.asp

(+) modal hide시 데이터 지우기 https://stackoverflow.com/questions/31022950/how-clear-bootstrap-modal-on-hide

(+) modal을 javascript로 hide시키기 https://stackoverflow.com/questions/10466129/how-to-hide-bootstrap-modal-from-javascript


input, data table html sample

https://datatables.net/examples/api/form.html



form에서 javascript로 post 보내기

form형식 - http://private.tistory.com/38

https://stackoverflow.com/questions/133925/javascript-post-request-like-a-form-submit

https://stackoverflow.com/questions/1200266/submit-a-form-using-jquery


rest api로 받은 json을 table로 만들기

https://stackoverflow.com/questions/19901843/display-json-data-in-html-table

(이걸 사용) https://stackoverflow.com/questions/36682840/get-json-data-to-html-table


CORS에 대해서

자세한 설명 - http://adrenal.tistory.com/16

spring에서 CORS를 피하는 방법 가이드 - https://spring.io/guides/gs/rest-service-cors/


mySQL에서date를 GET 방식으로 javascript로 보낼때, date를 정상적으로 표현하는 방법

http://jsonobject.tistory.com/34


Spring boot security에서 basic http 로 로그인하면 로그아웃이 안된다!!!!!!!!!

https://stackoverflow.com/questions/25191918/spring-web-security-logout-not-working-with-httpbasic-authentication

3시간 삽질하고 정상 동작함, httpbasic으로 로그인하면 post/get이던 로그아웃이 안된다.