일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- paint
- struts2
- 예외처리
- AWT
- 메소드
- 국제화
- Spring
- 안드로이드
- Graphic
- oracle
- 어노테이션
- 생성자
- Menu
- Java
- JavaScript
- Eclips
- layout
- 전화걸기
- 메서드
- Android
- 클래스
- 기본
- 오버로딩
- mybatis
- 에러페이지
- 배열
- OGNL
- JSP
- 이클립스
- HTML
- Today
- Total
목록차이점 (2)
note
실행화면 age값을 get방식으로 넘겨줘서 상황에 따른 변화입니다 struts.xml /ch7/{1}.jsp IfAction package com.ch7.action; import com.opensymphony.xwork2.Action; public class IfAction implements Action{ int age; @Override public String execute() throws Exception { return SUCCESS; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } } If.jsp if/else if/else 태그 예제 Adult Teenager Child OGNL표현식 ..
class StaticTest{//정직 멤버변수와 인스턴스 멤버 변수의 차이점 static int a=10; //클래스(static)에 올라감 int b=20; //heap에 올라감 } public class StaticTest01 { public static void main(String[] args){ System.out.println("StaticTest.a->"+StaticTest.a); StaticTest s1 = new StaticTest(); StaticTest s2 = new StaticTest(); System.out.println("s1.a->"+StaticTest.a+"\t s2.a->" + StaticTest.a); System.out.println("s1.b->"+StaticTes..