But this gave me an IllegalArgumentException (The resource path [..] is not valid).
My understanding of the webapp location was that, if I appended the location to my URL in the browser, it should load. In other words, the asset should be loaded via a URL.
This is the way it used to be, utilizing ResourceUtils.getContentFromUrl, which is still in the codebase.
Since running an application from the command line using Maven, or from within Eclipse, or running some Main class somewhere, could give me completely different paths to my resources, I'd expect that the webapp location would be URL driven.
So I guess my question is, if webapp is not URL driven, how can I load a JS file that does not reside in the directory provided by ServletContext sc = request.getServletContext()?
Thanks for version 1.1! I'm upgrading from 0.10.0 and everything seems better, from the code, to the usage, to the documentation. Great job!!!