• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL Function undefined Error

 
Mohit G Gupta
Ranch Hand
Posts: 634
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Head First Servlets and JSP
2nd edition
pg-393


El.tld inside WEB-INF
SIgn.jsp
EL.DiceRoller


TLD


The class with Function




JSP



Error:

The function mine:rollIt is undefined

I am unable to use EL function.
please help in solving the problem

 
Niiraj Patel
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The function mine:rollIt is undefined

The function-signature tag of TLD has typo mistake. Notice the <funtion-signature> instead of <function-signature>.

use this :



While preparing for exam, the best practice is the Notepad.

Please manually compile and deploy classes.

Regards,
Niraj

 
Mohit G Gupta
Ranch Hand
Posts: 634
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i did a terrible mistake
thanks for help

 
Mohit G Gupta
Ranch Hand
Posts: 634
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i did a terrible mistake
thanks for help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic