All articles
671 articles
캘리포니아 윈터 리그에 대해
To-do
SQL Injection 방어 방법
SQL Injection 방어 방법 실무 면접에서 해당 질문에 대해 받았는데 이미 이전 질문들에 머리가 하얗게 되어버린터.. 대답못하면 그건 그냥 모르는거다고 인정하자. 그리고 소잃고 외양간 고치는 심정으로 정리를 해보자.. 1. Prepared Statement의 사용 개발자가 먼저…
마름모 만들기
마름모 만들기 - 코드 public static void rhombus(int num) { for (int i=0;i<num;i++) { for (int j=0; j<num;j++) { if (i<=num/2)// 위쪽 영역…
삼각형 만들기
삼각형 만들기 - 코드 public static void triangle(int maxCnt) { for (int i=0;i < maxCnt;i++){ for (int j=0;j < (maxCnt-1)-i ;j++){ System.out.print(" "…
문자열 뒤집기 2
문자열 뒤집기 2 - 코드 public String reverse(char[] s, int i, int j){ while(i<j){ char temp = s[i]; s[i]=s[j]; s[j]=temp; i++; j--;…
문자열 뒤집기
문자열 뒤집기 -코드 public static void reverse(String s) { byte[] reverseByte = new byte[s.length()]; int arrSeq = 0; for (int i = str.length() ; i > 0 ; i--)…
문자열의 단어 순서를 뒤집기(reverse) 2
문자열의 단어 순서를 뒤집기(reverse) 2 - Origin.] LeetCode – Reverse Words in a String II (Java) https://www.programcreek.com/2014/05/leetcode-reverse-words-in-a-string-ii-…
[US][FRONTIER] 2018 독립리그 프론티어리그 트라이아웃
2018 미국 독립리그 프론티어리그 트라이아웃 1. Frontier League Tryout 기간 : 2018.04.23~2018.04.24 장소 : 켄터키주 플로렌스 자격 : 최소 18세 이상(1991년 1월1일 이후 출생) 내용 : 프론티어리그의 12개팀 모두 참여 최근 10년간 매…
[JSP] html 요소가 많은 페이지 출력시 끊김 현상
[JSP] html 요소가 많은 페이지 출력시 끊김 현상 Reference http://cspark.egloos.com/1531530 Problem TD 태그가 200~300 개 이상 출력되는 페이지를 출력시 화면이 끊겨 보이는 현상이 발생. Why jsp에서 default로 설정한 b…
Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name jdbc is not bound in this Context Reference http://blog.daum.net/…