Karl,

how about this one from JSP 1.1 chapter 5.8.3:

There is no convenient place in web.xml in the Servlet 2.2 spec for
customization
information A standardized mechanism is probably going to be part of a
forthcoming JSP
specification, but in the meantime the suggestion is that a tag library
author place this
information in a well-known location at some resource in the WEB-INF/
portion of the
Web Application and access it via the getResource() call on the
ServletContext.

>The issue here is that we don't quite see where the specification says that
>the WEB-INF library is accessible through getResource().
>
>However, certain servers support it and we are making sure that this issue
>is worked out in the JSP/Servlet specification expert group in which we
>participate. What the specification currently says about resources is this
>(section 4.4):
>
>Resources
>The ServletContext interface allows direct access to the static document
>hierarchy of content
>documents, such as HTML, GIF, and JPEG files, that are part of the web
>application via the
>following methods of the ServletContext interface:
>* getResource
>* getResourceAsStream
>
>What it says is that the static document hierarchy is accesbile through
>getResource(), it does not say anything about using getResource() to access
>things in the WEB-INF directory, which although residing under the
>web-application root is a special kind of directory that is not part of the
>actual document hiearchy (defined in 9.4).




Reply via email to