Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Struts 1.3.5 TLDs

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where can i get the tlds for struts 1.3.5? coz they are not included in the installation package. all samples were referencing to "http://struts.apache.org".
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 1.3.5 uses the newer style of referencing TLDs. The TLDs are now packaged in the META-INF folder of the struts-taglib-1.3.5.jar file.

Here's how it works:
  • You specify a URI in a <%@ taglib %> tag. (Example: http://struts.apache.org/tags-bean) This isn't a real URL. It represents a Namespace.
  • The web container searches the META-INF directories of all the jar files in the classpath.
  • When a TLD is found that has a <URI> stanza that matches the URI in the taglib declaration, that TLD will be used. In our example, while searching the struts-taglib-1.3.5.jar file, it finds that the file META-INF/tld/struts-bean.tld has a <URI> tag containing "http://struts.apache.org/tags-bean", so this is the TLD that is used.


  • [ October 20, 2006: Message edited by: Merrill Higginson ]
     
    aleah de guzman
    Greenhorn
    Posts: 15
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    yes i saw the tlds in the META-INF. thanks for info =)
     
    Ranch Hand
    Posts: 48
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    But, I have this line ...


    ... in a .jsp, with the struts-taglib-1.3.5.jar in /WEB-INF/lib,
    and I get the following error when I load the .jsp.



    Regards,
    JC
     
    Joseph Clark
    Ranch Hand
    Posts: 48
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I should mention that I'm a total noob, and this is my first
    struts endeavor.

    I am using Tomcat 5 which I know works.

    Here is web.xml


    and struts-config.xml looks like ...


    I am trying the upload-file example at

    http://www.roseindia.net/struts/strutsfileupload.shtml


    Regards,
    [ November 01, 2006: Message edited by: Joseph Clark ]
     
    Joseph Clark
    Ranch Hand
    Posts: 48
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator


    Oh, it's referring to that locale att.

    Carry on.
     
    Space seems cool in the movies, but once you get out there, it is super boring. Now for a fascinating tiny ad:
    the value of filler advertising in 2020
    https://coderanch.com/t/730886/filler-advertising
    reply
      Bookmark Topic Watch Topic
    • New Topic