8. JSTL Set 1. 몸체없이 처리하는 Set Set With No Body str = 2. body 가 를 이용한 Set Set With Body Hello, Again World str = 3. 변수를 위한 Set Value 3.1 변수 표현 jsp 01 Scoped Variable Current Value Page Scope (scopeVarPage) Request Scope (scopeVarRequest) Session Scope (scopeVarSession) Application Scope (applicationVarPage) 3.2 변수 표현 jsp 02 Linked File: linked.jsp Scoped Variable Current Value Page Scope (scopeVarPage) Reques.. 더보기 7. JSTL Collection 예제 1. 수정가능한 Collection 처리 Updatable Collections Enter a item to add or remove. 더보기 6. JSTL foreach 문 처리 1. foreach loop 기본 2. Begin, End 스텝을 이용한 foreach The forEach tag exposes a scoped variable called 'count', which is the position of the current iteration of the collection. (Note, it is not the position of the element in the underlying collection) Family member # is 3. Integer 를 이용하기 위한 foreach loop From 1 to 10 From 10 to 1 4. 스트링 처리를 위한 forEach 태그 Here are my bikes: 5. forEach에서 status Count 처.. 더보기 5. JSTL ForTokens 예제 1. 스플릿트 문자열을 분리, 처리 하기 위한 ForTokens Family member # is 2. ForTokens 기타 Parse for Tokens Enter a sentence: Word 더보기 4. JSTL Choose 예제 1. choose 태그 기본 Tag Plugin Examples - # : One! Four! Three! Huh? 2. if에 대한 Choose 에서 예외상황 처리 Exception! Refresh the page in your web browser to try again. No Exception. Refresh the page in your web browser to make another call. 3. xml 데이터 비교 3.1 데이터 처리 jsp First Last Points Letter Note You did great! You did good! You did ok. Well, you passed. You failed 3.2 xml 데이터 A B T 88 B C D K 9.. 더보기 3. JSTL IF 조건문 1. IF 문장 기본 You guessed my number! You did not guess my number! Guess what number I am thinking of? 2. if ~ else 문 Ok, we'll send pizza. pizzas. Enter a number between 1 and 5: 3. 논리 연산자 And와 Or을 이용한 if EL Expression Examples Logical Operators Your guess is You're in range! Try again! 4. true 값과 if문의 처리 Hello world! 5. 본문이 없이 if구문 처리하는 예제 I tested to see if you picked my number, the result was G.. 더보기 2. JSTL 연산자 1. 조건 비교 연산자 EL Expression Examples Logical Operators Comparison Operators 4 > '3' '4' > 3 '4' > '3' 4 >= 3 4 더보기 1. JSTL Out 사용 예제 1. JSTL c:out 예제 Out Example 10 * 3 = 2. c:out 예제 - 이 예제에서는 c:out value="${변수}" 를 이용하여 출력하는 예제이다. Your favorite color is: Choose your favorite color: red blue green yellow other 3. 폼에서 전달된 값이 없을경우 Default 값 사용 예제 3.1 formTest.jsp Enter your details First name: Last name: Age: 3.2 이 부분에서 폼 값이 없을경우 기본값을 출력하고 있다. Your details (or, the details that you entered!) First name Last name Age Partner's na.. 더보기 이전 1 ··· 54 55 56 57 58 59 60 ··· 63 다음