+++ src/main/webapp/WEB-INF/tld/functions.tld
... | ... | @@ -0,0 +1,25 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<taglib xmlns="http://java.sun.com/xml/ns/j2ee" | |
| 3 | + version="2.1"> | |
| 4 | + | |
| 5 | + <display-name>Custom Functions</display-name> | |
| 6 | + <tlib-version>1.0</tlib-version> | |
| 7 | + <short-name>custom-funcs</short-name> | |
| 8 | + | |
| 9 | + <!-- PhoneFormatUtil 클래스의 함수 --> | |
| 10 | + <function> | |
| 11 | + <name>formatPhone</name> <!-- 호출 함수명 --> | |
| 12 | + <function-class>itn.com.cmm.util.StringUtil2</function-class> <!-- 참조 클레스 --> | |
| 13 | + <function-signature>java.lang.String formatPhone(java.lang.String)</function-signature> <!-- 참조 매소드의 파라미터 설정 --> | |
| 14 | + </function> | |
| 15 | + | |
| 16 | + <!-- 예시) function 추가 - StringUtil 클래스의 함수 --> | |
| 17 | + <!-- | |
| 18 | + <function> | |
| 19 | + <name>toUpper</name> | |
| 20 | + <function-class>com.example.utils.StringUtil</function-class> | |
| 21 | + <function-signature>java.lang.String toUpperCase(java.lang.String)</function-signature> | |
| 22 | + </function> | |
| 23 | + --> | |
| 24 | + | |
| 25 | +</taglib> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?