Within a web application I want to create a "virtual directory" that lives under the WEB-INF directory. In effect what I am trying to accomplish is the same effect as creating a soft link in the filesystem if the application were run exploded. I am trying to accomplish this in both (most importantly) weblogic, as well as (in an ideal world) jetty.
I am aware of the virtual directory configurations, however these do not suit my purposes as I do not want the content served directly via a URL (hence why it lives in WEB-INF). I have found nothing in the configuration document for jetty or weblogic that seems to provide a similar concept for resource resolution (I did try adding "extraClassPath" to jetty, but that was not successful). As further background the applications is using spring MVC and the view resolvers are pointing to JSPs under WEB-INF
<bean id="myResolverBean" class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:viewClass="org.springframework.web.servlet.view.JstlView" p:prefix="/WEB-INF/foo/baz/" p:suffix=".jsp" />
After looking through the spring code I am under the belief, that it is doing nothing in regards to the resource loading, it is the container (weblogic / jetty) that resolves the paths. I have also tried using file URIs but it seems the container will always interpret the path as relative to the context root (i.e. there are no absolute paths).
So my question is, is it possible to add any kind of configuration directive to the web.xml, server configurations, or spring configuration to accomplish this?