목록Client (64)
써먹는 웹개발
툴바 안보이게 하는 소스 : css로 안보이게 설정하면 됩니다. 1 $(".ql-toolbar").css("display","none"); cs 실행결과 1. 툴바 있을때 2. 툴바 안 보일때
0. 기존 잘되는 소스 1 2 3 4 5 6 7 8 9 10 11 Colored by Color Scripter cs 1. 안되는 소스 (ex. popup) - name이 */*/*/* 일때 {4} 값이 3번째 칸으로 되서 1번값/2번값/4번값/{4}.jsp 로 인식해서 에러나는 현상 있음 1 2 3 Colored by Color Scripter cs 2. 해결방법 - name을 */*/규칙적인 매핑명/* 으로 변경 1 2 3 Colored by Color Scripter cs
경로 : /home/synap/SynapDocViewServer-20xx.xx.xx.x_linux/hsql 실행 : ./hsql_db_startup.sh
0. Spring 프로젝트 VM arguments에 설정한 Spring Profile -Dspring.profiles.active=prod 1. 톰캣에 Spring Profile 지정 리눅스 기준 tomcat/bin 디렉토리에서 setenv.sh 파일 생성 후 아래와 같이 작성 JAVA_OPTS="$JAVA_OPTS -Dspring.profiles.active={profile_name}" 출처 : https://feco.tistory.com/106
1. 제공하는 API 소스 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 String urlParameters = "title=" + java.net.URLEncoder.encode(org.apache.commons.codec.binary.Base64.encodeBase64String(title.getBytes("euc-kr")), "EUC_KR") + "&message=" + java.net.URLEncoder.encode(org.apache.commons.codec.binary.Base64.encodeBase64String(message.getBytes("euc-kr")), "..
1. 에러 메시지 java.sql.SQLException: Connection Pool is not exist:kaits 2. 해결방법 - DataServer/manager/index.html에서 db 정보 추가할때 servicename에 sname 추가
Thymeleaf의 사용방법을 모른다면 1번처럼 하게되고, 조금이라도 안다면 2번처럼 개발하게 된다. 1. 목록에서 Map 형식으로 리턴 방법 1) Controller ※ 서비스에서 List 리턴 1 2 3 4 @GetMapping("/userIdList") public Map userIdList(Model model) { return manageService.userIdList(); } Colored by Color Scripter cs 2) js 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 $.ajax({ type: 'GET', url: '/userIdList', contentType:'application/json', dataType: "json", s..
1. 나의 경우 파라미터에 @ModelAttribute("queryParam") QueryParams queryParams 가 없었다. 1 2 3 4 5 @GetMapping(value = {"", "/"}) public String forwardMain(Model model, @ModelAttribute("queryParams") QueryParams queryParams) { return "views/main/index"; } Colored by Color Scripter cs 2. 백앤드에서 문제가 없는데 프론트에서 문제가 생기는 경우 - name의 상위 변수 뒤에 ?를 붙여줄 것 1 ${member?.name} cs 2번 참고 : https://spacedev.tistory.com/7