Hi All,
At first, JSP validator cannot locate a tag lib descriptor file if it locates in WEB-INF’s subdirectory. For example this sample works:
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
And this one not:
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>
The second, I tries to use Maven and found out that validator tries to validate JSP files in any project subdirectory (including maven target/**). That’s wrong and time consuming. It should scan only source directories.
Best regards,
Maksym