This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Just like for other directives, in taglib directive the order of attribute does not matter. Can you confirm if you are using the latest version of the servlet-api.jar - which version of tomcat are you using?. What is your web.xml like? (Paste it over here)
Thanks for your reply. I am using Tomcat 5.5.17, which includes servlet-api.jar version 2.4. For information, Apache Tomcat version 5.5 implements the Servlet 2.4 and JavaServer Pages 2.0.
Here is my pretty basic web.xml :
Are you sure that the order does not matter ? [ September 04, 2006: Message edited by: Max Fernandes ]
Joined: Sep 18, 2004
Hello Max, I rechecked - ran a small code snippet and confirm that order does not matter. I think the problem may be elsewhere.... Had the order mattered they would have specified it as a rule for directives in general.
Try using the jstl core library functions (eg: forEach) and see if this problem is happening for them as well? (Or is it just for your custom tags).