-
1. Re: Tld not found in jboss 6.0 final
jaikiran Apr 7, 2011 5:43 AM (in response to krikorkherberian)krikor kherberian wrote:
Hi, I had an application working in jboss 5. But in jboss 6 i encountered errors. I have problem with tld's not found.
In JbOSS 5 I didnt have this issue, I wrote tld folder in same level of web-inf, not inside it.
The spec doesn't allow that. JSP spec mandates:
JSP.7.3.1 Identifying Tag Library Descriptors
Tag library descriptor files have names that use the extension .tld, and the extension indicates a tag library descriptor file. When deployed inside a JAR file, the tag library descriptor files must be in the META-INF directory, or a subdirectory of it. When deployed directly into a web application, the tag library descriptor files must always be in the WEB-INF directory, or some subdirectory of it. TLD files should not be placed in /WEB-INF/classes or /WEB-INF/lib, and must not be placed inside /WEB-INF/tags or a subdirectory of it, unless named implicit.tld and intended to configure an implicit tag library with its JSP version and tlib-version.