BLOG main image
분류 전체보기 (77)
프로젝트 (8)
IT소문 (9)
영화가주는인생 (5)
OpenAPI (9)
DBMS (5)
JAVA (16)
IPhone/Object-C (9)
안드로이드 (0)
WEB etc (8)
Server (1)
Michael Kors Handbags on Sale
Michael Kors Handbags on Sale
Nike Roshe Run
Nike Roshe Run
michael kors handbags outlet
michael kors handbags outlet
outlet de zapatillas nike
outlet de zapatillas nike
Cheap beats by dre uk
Cheap beats by dre uk
2,288,028 Visitors up to today!
Today 106 hit, Yesterday 153 hit
daisy rss
tistory
2008.11.11 10:36

 

JSTL functions

Functions  
fn:contains()
fn:containsIgnoreCase()
fn:endsWith()
fn:escapeXml()
fn:indexOf()
fn:join()
fn:length()
fn:replace()
fn:split()
fn:startsWith()
fn:substring()
fn:substringAfter()
fn:substringBefore()
fn:toLowerCase()
fn:toUpperCase()
fn:trim()

 

 

사용법은 아래와 같다.

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

 

<c:if test="${fn:indexOf(menuValue, '|0101')>-1}">

    <input type=checkbox nam=menu value="0101" checked>메뉴1

</c:if>

<c:if test="${fn:indexOf(menuValue, '|0101')==-1}">

    <input type=checkbox nam=menu value="0101">메뉴1

</c:if>

 

JSTL을 사용하면서 그나마 편하기는 하지만, 그래도 velocity나 JSP를 이용하는 것보다는

불편한게 사실이다

신고
coach outlet online | 2012.11.29 12:37 신고 | PERMALINK | EDIT/DEL | REPLY
This is my first time i visit here. I discovered so numerous interesting stuff in your weblog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all of the enjoyment here! maintain up the great work.
business telephone lines | 2013.01.03 22:42 신고 | PERMALINK | EDIT/DEL | REPLY
It’s a great site to see. That will help for improvisation of me. Will definitely marked as Bookmark.

<a href="http://www.xinix.co.uk/cheap-business-calls-deals-installation-phone-line-packages/">business phone deals</a>
Name
Password
Homepage
Secret

티스토리 툴바