Howdy Ranchers!
[Talking about
Servlets 3.0.]
Just want to make it straight: I
cannot access any resources from
another WAR within the same servlet container, right?
If I want to access a resource within a web-app but NOT within a JAR file inside /WEB-INF/lib, I can use the
ServletContext's methods: getResource(-)/getResourceAsStream(-).
If I want to access a resource within a web-app which CAN be located within a JAR file inside /WEB-INF/lib, I can use
ClassLoader's methods: getResource(-)/getResourceAsStream(-).
But there is no way I can access a resource of another webapplication deployed on the same web-container.
Is this correct?