The book you are reading is probably out of date.
The requirement for the file to be called taglib.tld was true in JSP1.1.
As of JSP1.2 multiple taglibs were allowed, so they had to relax the naming restrictions.
Check out the JSP specification section 7.2.1.
>The main problem for me is that i cant these taglibs up and running.
You are trying to get the JSTL tags running?
Do you get any error messages, or does it just not work?
There are a couple of FAQ entries on this:
http://faq.javaranch.com/view?JstlTagLibDefinitions http://faq.javaranch.com/view?ServletsWebXml The URI you are using would be correct for JSTL1.1
This requires a JSP2.0 container (eg
Tomcat 5).
In order to run correctly, your web.xml file must also declare itself as being version 2.4 (see above FAQ entries).
If you are using something less than Tomcat 5, then you need to get JSTL1.0
If you still have troubles, post back specifying:
- what server (and version) you are using
- what version of JSTL is installed
- what version of
java - any error messages / stack traces
Cheers,
evnafets