I am using struts 1.2.4. http://struts.apache.org/1.2.4/userGuide/configuration.html#dd_config_taglib
When I download struts 1.2.4 from the archive, web.xml in the struts_blank.war is configured like this: <!-- Struts Tag Library Descriptors --> <taglib> <taglib-uri>/tags/struts-bean</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-html</taglib-uri> <taglib-location>/WEB-INF/struts-html.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-logic</taglib-uri> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-nested</taglib-uri> <taglib-location>/WEB-INF/struts-nested.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-tiles</taglib-uri> <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> </taglib> -----Oprindelig meddelelse----- Fra: Wendy Smoak [mailto:[EMAIL PROTECTED] Sendt: 23. juli 2007 21:22 Til: Struts Users Mailing List Emne: Re: Struts tag-lib On 7/23/07, Søren Blidorf <[EMAIL PROTECTED]> wrote: > I am confused on how to configure tag-libs i web.xml. Unless you're using a really old Servlet container, you don't need to put anything in web.xml. (Since Servlet 2.3, the container will scan the jar files in WEB-INF/lib and discover the taglibs.) > The guidelines says: "http://struts.apache.org/tags-html" > > But the example from the webapps that comes with the download of struts > says: "/tags/struts-html" > > What is correct? What version of Struts? What url for the guideline you mention above, and what page in the example? The latest taglibdoc is here... http://struts.apache.org/1.x/struts-taglib/tlddoc/html/tld-summary.html ... which says to use this in your JSP: <%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %> Let us know where you found the incorrect info so we can fix it. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]