facebook

no struts-validator.tld [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #211414 Reply

    xsun
    Member

    I am using Struts1.1. There is no struts-validator.tld file in my WEB-INF folder. What’s the best way to add it?

    xsun

    #211417 Reply

    Riyad Kalla
    Member

    xsun,
    I just downloaded and double checked the Struts 1.1 release and there is no struts-validator.tld file… where is this file comming from?

    Either way, just place it in the same location as your other TLD files, if you don’t have any other TLD files, then the most common place to put TLD files is under your WEB-INF directory, and be sure to add web.xml <taglib> entries for it and that the classes that implement the tags are in your Java Build Path.

    Additionally if you have a lot of tag files or want to keep things organized, another common plaec is to put TLD files in a WEB-INF/tlds directory, make sure to update your web.xml <taglib> entries if you do.

    #211433 Reply

    xsun
    Member

    I read this file from section4.9 of “Struts in Action” book. Now I think this maybe an error of the book, because I don’t see the tld file in the struts binary I downloaded.

    Thanks,
    xsun

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: no struts-validator.tld [Closed]

You must be logged in to post in the forum log in