In certain environments, the ServletContextUriLocator fails to retrieve the
resource because the dispatcher include returns 404 error code. This happens
(for example), when using spring MVC and trying to locate protected resources
(located under WEB-INF folder). This can be solved by falling back to an
alternative way of retrieving resource when dispatcher fails. More
specifically, when dispatcher returns an empty stream - try to use external
resource locator to make a server-side http request in order to locate the
searched resource.
Discussion on this subject can be found here:
https://groups.google.com/forum/?fromgroups#!topic/wro4j/FNIeqUazbM4
Original issue reported on code.google.com by alex.obj...@gmail.com on 25 Jun 2012 at 8:59
Original issue reported on code.google.com by
alex.obj...@gmail.com
on 25 Jun 2012 at 8:59