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.
Hi, the <taglib-location> should be this according to the servelt specification for the web.xml file "the taglib-location element contains the location (as a resource relative to the root of the web application) where to find the Tag Libary Description file for the tag library." a jar file is not a Tag Libary Description file. so answer 2 is wrong! Hope that helps! /Enrico
Answer 2 is incorrect because the JAR file is not in the correct location. JSP 2.0: JSP.7.2.1 Packaged Tag Libraries JSP page authoring tools and JSP containers are required to accept a tag library that is packaged as a JAR file. When deployed in a JSP container, the standard JAR conventions described in the Servlet 2.4 specification apply, including the conventions for dependencies on extensions. I didn't have servlet 2.4 handy, but I do have servlet 2.3: SRV.9.5 Directory Structure A web application exists as a structured hierarchy of directories. The root of this hierarchy serves as the document root for files that are part of the application. ..... A special directory exists within the application hierarchy named �WEB-INF�. This directory contains all things related to the application that aren�t in the document root of the application. ..... The contents of the WEB-INF directory are: � The /WEB-INF/lib/*.jar area for Java ARchive files. [ February 07, 2003: Message edited by: Kevin Mukhar ]