It's not a secret anymore!
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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 761
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: 63334



<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: 761
hey thanks a lot.. its worked.
I agree. Here's the link:
subject: Writing EL Function
It's not a secret anymore!