facebook

Problem with Tag Library Descriptor declaration in web.xml

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #227686 Reply

    lukeb
    Member

    Hi folks,

    I’m just trying the struts features of myeclipse and I found a problem I cannot resolve:

    In my web.xml I want to declare the following taglib-uri:

    <!– JSTL Tag Library Descriptor –>
    <taglib>
    <taglib-uri>jstl-c</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>

    Of course is the descriptor present in the /WEB-INF/ directory.

    I get the following error on the tag <taglib> :
    cvc-complex-type-2.4.a: Invalid content was found starting with element ‘taglib’. On of ‘{…
    And many line of errors follow.

    Wath does it mean?

    I’m using myeclipse 3.8.4 GA on Eclipse 3.0.2 (WIndows)

    Thanks

    LuKe

    #227697 Reply

    icwrightuk
    Member

    I get this as well, although the app is working – apart from Struts validation. Myeclipse 3.8.4 on Eclipse 3.0.1 (Mac)
    Ian

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem with Tag Library Descriptor declaration in web.xml

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