• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing EL Function

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65128
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${u.getCurrentDate()}

and

<function-signature>java.lang.String getCurrentDate()</function-signature>
 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey thanks a lot.. its worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic