A Struts tutorial? Or a general tutorial on tag libraries?
If it's a Struts tutorial, then I would have serious doubts as to its credibility, but I will let the more Struts-savvy members make that judgement. In modern web applications, it is never necessary to extract the tld files from the jar files and configure them "by hand". [ July 26, 2008: Message edited by: Bear Bibeault ]
Do you mean that the tld files are included in the jar files within the lib directory?
If in a jsp file I refer to a tld file this way : "<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>" : - Should not I put the struts-logic.tld file under the WEB-INF directory? - If the tld files are included within the jar files (under the lib directory), How Should I refer them from the jsp file ?
The tutorial you're following is for older versions of Struts. Version 1.2.9 and below require TLD files in the WEB-INF directory, but any version later than 1.2.9 (the current one is 1.3.8) has the TLD files contained in the struts-taglib-1.3.8.jar file that comes with the download.
Your tutorial will no doubt give you incorrect taglib definitions for the JSP. Below are the correct ones: