Which is true about TLD files? Ans is TLD files may be placed in any subdirectory of WEB-INF.But we are not supposed to place it under WEB-INF/classes.So is the answer right?Also Study kit say we can place it under any folder under the web application root.
Renu, thank you. I was sure you were not ignoring fellow ranchers (Jothi, thanks. And congrats for winning a book )
From the spec : The container searches for all files with a .tld extension under /WEB-INF or a subdirectory, and inside JAR files that are in /WEB-INF/lib. When examining a JAR file, only resources under /META-INF or a subdirectory are considered. The order in which these files are searched for is implementation-specific and should not be relied on by web applications.
Also Study kit say we can place it under any folder under the web application root.
No, that's not true. And you don't want anybody to access it. (if you7re referring to SCWCD Study Kit, good luck to fix all the errors !)