분류 전체보기
-
자바 스크립트프로그래밍 언어/expression 2011. 8. 8. 15:46
typeof 연산자instanceof 연산자 -.==(), .!=()한 값이 숫자이고 다른 한 값이 문자열이라면 문자열을 숫자로 변환하고 변환된 값으로 다시 비교한다.. 4 && hour < 18) { .. } else { .. } Number() parseInt()parseFloat() 문자열에서 0을 빼서 문자열을 숫자로 변환할 수 있다 the unary + operator to convert the string value into a number Object.toString().valueOf()Number, Boolean String.split() // Array var myData1 = (5).toString() + String(5); var firstVal = "5";var secondVal =..
-
jQueryGUI/컨트롤 2011. 8. 8. 15:08
자바스크립트 라이브러리 jQuery prototype 네이버의 '진도' $(window) on scroll .scrollTop() $(this) on click on toggle .focus() .attr[] .css[] .next() .find() .attr() .hide() .animate() .stop() .slideUp() .slideDown() $(document) on ready 참조 사이트:http://findfun.tistory.com/280http://api.jquery.com/focus/
-
-
JSPPlatform/설정 2011. 8. 3. 14:25
WAS 톰캣 Servlet컨테이너만 있고, EJB컨테이너는 없다. 웹로직 OC4j 웹스피어 제우스 JBoss %CATALINA_HOME%\conf\server.xml 웹 어플리케이션이 포함되는 서버에 관한 정보 .appBase 웹 어플리케이션 폴더가 위치할 기본 폴더 %CATALINA_HOME%의 상대경로 웹 어플리케이션과 관련된 설정 정보 .path 웹 어플리케이션의 경로명 request.getContextPath() .docBase 웹 어플리케이션이 위치한 폴더 .. .. .. .. .. 웹 어플리케이션의 폴더 구조 WEB-INF web.xml 웹 어플리케이션에 대한 전반적인 설정 정보 웹 어플리케이션의 초기화 파라미터 데이터베이스 연결과 관련된 설정 파일의 경로, 로깅 설정 파일, 웹 어플리케이션의..
-
인덱서프로그래밍 언어/클래스 2011. 8. 2. 13:55
using System; class Color { private string[] color = new string[5]; public string this[int index] { get { return color[index]; } set { color[index] = value; } } } class IndexerApp { public static void Main() { Color c = new Color(); c[0] = "WHITE"; c[1] = "RED"; .. for (int i = 0; i < n; i++) Console.WriteLine("Color is " + c[i]); } }
-
제네릭프로그래밍 언어/클래스 2011. 7. 28. 17:04
using System; class Stack { private StackType[] stack = new StackType[100]; private int sp = -1; public void Push(StackType element) { stack[++sp] = element; } public StackType Pop() { return stack[sp--]; } } class GenericClassApp { public static void Main() { Stack stk1 = new Stack(); // 정수형 스택 Stack stk2 = new Stack(); // 실수형 스택 .. } }
-
C#Platform/프로세스 2011. 7. 28. 16:50
delegate void System.Threading.ThreadStart(); System.Threading.Thread .CurrentThread // static .Sleep() // static .Name .ThreadState .Start() .Abort() .Suspend() .Resume() .Join() System.Threading.Monitor .Enter() .Exit() using System; using System.Threading; class ThreadProperty { public void ThreadBody() { .. Monitor.Enter(this); .. Monitor.Exit(this); } /* public void ThreadBody() { .. lock (..