File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Writing EL Function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Writing EL Function" Watch "Writing EL Function" New topic

Writing EL Function

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 758
Hi i have written EL function which displays current date. but its not getting called.

bellow is my el function

Bellow is my tld file elutil.tld which i have placed in WEB-INF/tld/elutil.tld

bellow is my entry in web.xml

and bellow is my jsp in which i am ivoking the function

Am i missing something ?

Jigar Naik

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61589



<function-signature>java.lang.String getCurrentDate()</function-signature>

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 758
hey thanks a lot.. its worked.
I agree. Here's the link:
subject: Writing EL Function