udemy

· Udemy
JSTL Functions - Prefix "fn" Collection Length - length String manipulation(문자열 조작 태그) - toUpperCase, toLowerCase - substring, substringAfer, substringBefore - trim, replace, indexOf, startsWith, endsWith - contains, containsIgnoreCase, split, join, escapeXml 예제 Length of the string ${data }: ${fn:length(data)} Uppercase version of the string ${data }: ${fn:toUpperCase(data) } Does the string ${..
· Udemy
JSTL core Tag 태그를 써보자! choose Tag는 조건문 중 하나이다. (여기서는 boolean 타입을 받기 때문에 참 거짓) (만약 String 타입이 넘어온다면 이런 조건문 ="${tempStudent.firstName eq mohamad}" 성이 모하메드인 인수가 넘어오면 true 아니면 false 하고 다음 조건문으로 넘어가게 된다. 위의 조건문에서 걸리지 않았을 경우 여러 개의 c:when test 를 써서 조건을 if else 처럼 조건문을 달 수 있다. 예제 https://programmingbeginner.tistory.com/19 자바 코드는 여기서 볼 수 있다. JSP Core Tag (Looping with forEach) 1. HTML 테이블을 만들어 볼 것이다. 2. ..
· Udemy
1. 이클립스 들어간다. 2. 동적 웹 페이지 생성(Dynamic Web Project) 3. www.luv2code.com/download-jstl 에서 압축 파일을 다운 4. 압축을 풀고 거기에 있는 두개의 jar 파일을 WebContent/Web-INF/lib 폴더에 넣어준다. 끝! 5. 예제를 풀어보자 Time on the server is ${stuff } JSTL라이브러리를 사용하는 방법 화면 상단에
· Udemy
1. html 파일을 만든다. 2. 넘어온 매개변수 값을 쿠키에 저장 후 homepage.jsp로 넘겨준다. 3. homepage.jsp에서 쿠키를 받아 cookie배열에 저장하고, 그 저장한 배열에 있는 값이 2번에서 넘어온 name의 값이랑 같다면 favor 값 변경해준다. 1. cookies-personalize-form.html Select your Favorite Language JAVA PHP C++ C Python 간단한 select option 태그를 이용하여 폼을 만들었다. 즉, cookies-personalize-response.jsp로 form이 action하면서 (?) 값을 넘겨준다. select 다음 name ="?"이 오는 이유: 다른 사이트 or jsp파일에 값을 넘겨주기 위해..
알아가자
'udemy' 태그의 글 목록