users@glassfish.java.net

nub question about <taglib> && web.xml

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 Jun 2007 07:49:01 PDT

I explore spring framework tutorial "Developing a Spring Framework MVC application step-by-step" and in ste 22 i must paste in web.xml this:

[i] <taglib>
    <taglib-uri>/spring</taglib-uri>
    <taglib-location>/WEB-INF/spring.tld</taglib-location>
  </taglib>[/i]

but i have validation error:
[i]
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [test2] Line 31 Column 13 -- Deployment descriptor file WEB-INF/web.xml in archive [web]. cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'.[/i]

What i do wrong?
[Message sent by forum member 'nassaja' (nassaja)]

http://forums.java.net/jive/thread.jspa?messageID=221714