This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • 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: 64843
86
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