반응형 Web Programing!301 [WARNING] The requested profile "pom.xml" could not be activated because it does not exist. [WARNING] The requested profile "pom.xml" could not be activated because it does not exist. project -> 오른쪽 마우스properties 선택pom.xml 삭제 2019. 9. 17. [JAVA] Header 정보 가져오기 [JAVA] Header 정보 가져오기 import import=java.util.Enumeration Enumeration headerEnum = request.getHeaderNames();while(headerEnum.hasMoreElements()){ String headerName = (String)headerEnum.nextElement(); String headerValue = request.getHeader(headerName);} 2019. 5. 29. [spring boot] context-path, 포트 설정 [spring boot] context-path, 포트 설정 프로젝트를 만들고 실행하게 되면 기본 설정인 http://localhost:8080/ 으로 접속하면 초기 화면이 나온다. context-path 추가 src/main/resources/application.properties server.servlet.context-path=/www 설정시 http://localhost:8080/www로 접속가능. server.port=80 설정시 http://localhost/www로 접속가능. 그 외 spring boot 에서 제공하는 많은 option들은 아래 링크에서 확인하면 된다. https://docs.spring.io/spring-boot/docs/current/reference/html/commo.. 2019. 5. 23. [Postgresql] 시퀀스 초기화 [Postgresql] 시퀀스 초기화 ALTER SEQUENCE "시퀀스이름" RESTART WITH 1; 2019. 5. 20. 이전 1 ··· 6 7 8 9 10 11 12 ··· 76 다음 반응형