aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Writing EL Function" Watch "Writing EL Function" New topic
Author

Writing EL Function

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 757
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
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

${u.getCurrentDate()}

and

<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: 757
hey thanks a lot.. its worked.
 
jQuery in Action, 2nd edition
 
subject: Writing EL Function