functions.tld 추가
This commit is contained in:
parent
197018bcba
commit
cc983c7d42
25
src/main/webapp/WEB-INF/tld/functions.tld
Normal file
25
src/main/webapp/WEB-INF/tld/functions.tld
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||||
|
version="2.1">
|
||||||
|
|
||||||
|
<display-name>Custom Functions</display-name>
|
||||||
|
<tlib-version>1.0</tlib-version>
|
||||||
|
<short-name>custom-funcs</short-name>
|
||||||
|
|
||||||
|
<!-- PhoneFormatUtil 클래스의 함수 -->
|
||||||
|
<function>
|
||||||
|
<name>formatPhone</name> <!-- 호출 함수명 -->
|
||||||
|
<function-class>itn.com.cmm.util.StringUtil2</function-class> <!-- 참조 클레스 -->
|
||||||
|
<function-signature>java.lang.String formatPhone(java.lang.String)</function-signature> <!-- 참조 매소드의 파라미터 설정 -->
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<!-- 예시) function 추가 - StringUtil 클래스의 함수 -->
|
||||||
|
<!--
|
||||||
|
<function>
|
||||||
|
<name>toUpper</name>
|
||||||
|
<function-class>com.example.utils.StringUtil</function-class>
|
||||||
|
<function-signature>java.lang.String toUpperCase(java.lang.String)</function-signature>
|
||||||
|
</function>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</taglib>
|
||||||
Loading…
Reference in New Issue
Block a user