Hello Guys, I am just trying to implement an EL example from HF book. I have looked at method signatures a million times and not sure where I am going wrong. Please could you help me?
tld file: diceroller.tld placed directly under WEB-INF
The class with the function: DiceRoller placed in the package foo.
The Spec isn't exactly clear on this point, but I read it to mean that primitive types can't be used. I'd change the function to return java.lang.Integer.
Hmmm, I got nothing. Just for comparison, here's an EL function I've defiend that works fine. Perhaps you might try a similar function to see if it works for you?
Did that! no luck! Same error. The container is able to locate the tld but it is not able see the function. Do you think it has anything to do with the versions I use?
Originally posted by Bear Bibeault: Hmmm, should you not be using JDK 1.5 with Tomcat 5.5?
Yes, you either need 1.5 or you need to install the 'compat' package that allows you to run with 1.4. (I've always done the former so I don't know much about the latter).