Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- See
- https://stackoverflow.com/questions/35606551/jstl-localdatetime-format#35607225
- https://bitbucket.org/lrn_examples/custom-el_function
- <?xml version="1.0" encoding="UTF-8" ?>
- <taglib
- xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
- version="2.1">
- <tlib-version>1.0</tlib-version>
- <short-name>Custom_Functions</short-name>
- <uri>http://example.com/functions</uri>
- <function>
- <name>formatLocalDateTime</name>
- <function-class>com.example.Dates</function-class>
- <function-signature>java.lang.String formatLocalDateTime(java.time.LocalDateTime, java.lang.String)</function-signature>
- </function>
- </taglib>
Add Comment
Please, Sign In to add comment