2009/11/24 09:28
[others]
다음과 같이 사용하면 됩니다.
#set ($portalMap = {"NAVER" : "http://www.naver.com/", "DAUM" : "http://www.daum.net/", "NATE" : "http://www.nate.com/", "YAHOO" : "http://kr.yahoo.com/"})
#foreach ( $entry in $portalMap.entrySet())
<li>$velocityCount.<a href="$entry.getValue()" target="_blank">$entry.getKey()</a></li>
#end
'others' 카테고리의 다른 글
| Velocity에서의 Map 사용 (0) | 2009/11/24 |
|---|---|
| 자바스크립트 체크박스 관련 (0) | 2009/07/30 |
| browser의 layout engine (0) | 2009/06/17 |
| JEUS5 webadmin 비밀번호 변경 (0) | 2009/01/22 |
| JEUS5 webadmin port찾기 (0) | 2009/01/22 |
| Logging in Tomcat with Log4j (0) | 2008/04/18 |
