일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- learning
- git
- Server
- error
- Python
- javascript
- mariaDB
- Numpy
- Deep
- Pattern
- Github
- 자바
- centos
- Web
- data
- Spring
- db
- SSH
- 인공지능
- LIST
- framework
- interface
- Analysis
- mysql
- ai
- Security
- DeepLearning
- 함수
- java
- Linux
- Today
- Total
목록jstl (2)
PostIT
JSTL : foreach에서의 varStatus 속성 태그 상태 속성 입니다.속성을 이용해서 제어하면 좀더 쉽게 제어할수있습니다. ${status.current} ${status.index} ${status.count} ${status.first} ${status.last} ${status.begin} ${status.end} ${status.step} EX) items = [0,1,2,3,4,5]${status.current} ${status.index} 0,1,2,3,4,5${status.count} 1,2,3,4,5,6${status.first} index == 0일 때 true${status.last} index == 5일 때 true${status.begin} ${st..
http://cafe.naver.com/msjava/550 값이 같은가? 에 대한 비교로 보통 "== ", "!=" 을 많이 사용한다 이는 jstl에서도 마찬가지면 숫자와 문자 구분은 따움표로 구만해서 사용하는데 이대신 eq, ne를 사용하는것과 list, map 같은 객체가 값이 있느냐 없느냐의 구분하는 용도로 empty 를 사용 할 수 있다. 사용법은 아래와 같다 =============================================== Sample =============================================Ex) eq (==)1. // null2. // 숫자3. // 문자 Ex) empty = // list, map 객체 등= // 비어 있지 않은 경우 Ex) ne ..