facebook

TLD location

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #207593 Reply

    Thomas SMETS
    Member

    Dear,

    While under Eclipse we had the TLD‘s under a tld directory. Our Web-inf was looking like this :

    
    ./WEB-INF/classes
    ./WEB-INF/lib/commons-beanutils.jar
    ./WEB-INF/lib/commons-collections.jar
    ./WEB-INF/lib/commons-digester.jar
    ./WEB-INF/lib/commons-fileupload.jar
    ./WEB-INF/lib/commons-logging.jar
    ./WEB-INF/lib/commons-validator.jar
    ./WEB-INF/lib/jakarta-oro.jar
    ./WEB-INF/lib/jaxp-api.jar
    ./WEB-INF/lib/jstl.jar
    ./WEB-INF/lib/log4j.jar
    ./WEB-INF/lib/sax.jar
    ./WEB-INF/lib/standard.jar
    ./WEB-INF/lib/struts-el.jar
    ./WEB-INF/lib/struts.jar
    ./WEB-INF/lib/xalan.jar
    ./WEB-INF/struts-config.xml
    ./WEB-INF/tld/c-rt.tld
    ./WEB-INF/tld/c.tld
    ./WEB-INF/tld/fmt.tld
    ./WEB-INF/tld/struts-bean.tld
    ./WEB-INF/tld/struts-html-el.tld
    ./WEB-INF/tld/struts-html.tld
    ./WEB-INF/tld/struts-tiles.tld
    ./WEB-INF/validator-rules.xml
    ./WEB-INF/web.xml
    

    Within MyEclipse all JSP’s were flagged as incorrect as the reference to the TLD’s could not be found.
    Am I missing something (i hope) or is it just NOT possible ?

    \T,

    😳
    Sorry
    Typo’s of mine…
    I manually recreated the directory structure but it was as described not as shown… Again 😳

    #207595 Reply

    Riyad Kalla
    Member

    tsmets,
    I think the problem is stemming from the fact that your JAR files should be in your WEB-INF/lib dir, not under your WEB-INF/tld dir. Add them manually to your build path if they are not already there. The Struts JARs contain proper URI entries for the Struts taglibs, which will probably clear up all your errors (and you don’t need to add entries toyour web.xml file).

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: TLD location

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