본문 바로가기

Dev19

[Eclipse] 창 초기화 (레이아웃 초기화) Reset Perspective 이클립스를 만지다보면 창들이 옮겨지고 모양이 바뀌는 경우가 있다. 다시 돌려봐도 이전 그 느낌이 아닐때! 레이아웃을 초기화하는 방법이다. 1. [Window] → [Perspective] → [Reset Perspective] 2. 우측 상단 [Java EE] 아이콘 우클릭 → [Reset] 2022. 3. 11.
[JQUERY/JSTL] SELECT BOX 년도 생성 JQuery와 JSTL로 select box에 년도를 생성해보자! 1. JQuery - HTML JQUERY 년도 - SCRIPT $(document).ready(function(){ setDateSelectBox(); }); function setDateSelectBox(){ var now = new Date(); var now_year = now.getFullYear(); $("#year").append("선택"); // 2005년 부터 올해까지 for(var i = now_year; i >= 2005; i--){ $("#year").append(""+ i + " 년" +""); } } - 결과 2. JSTL JSTL 년도 선택 ${startYear-year} - 결과 2022. 3. 3.
[JAVA] Enumeration 세션값 출력 Enumeration을 사용해 세션에 등록한 모든 값을 출력 Enumeration attributes = request.getSession().getAttributeNames(); while (attributes.hasMoreElements()) { String attribute = (String) attributes.nextElement(); System.err.println(attribute+" : "+request.getSession().getAttribute(attribute)); } 2022. 2. 25.
[Eclipse] 글꼴 변경하기 간단하지만 처음엔 찾아볼 수 밖에 없는 이클립스에서 글꼴 변경하는 것을 해보려고한다! 1. 이클립스 상단의 [Window] - [Preferences] 2. [Preferences] - [General] - [Apperarance] - [Colors and Fonts] [Basic] 을 눌러 제일 아래보면 [Text Font]가 보인다!! Edit 클릭! 3. 원하는 글꼴, 스타일, 크기 변경해서 저장하면 끝! 2022. 1. 19.
반응형