I looked briefly into this, and this is what I found. AbstractJasperReportsView uses a call of
Code:
protected JasperReport loadReport() {
String url = getUrl();
if (url == null) {
return null;
}
Resource mainReport = getApplicationContext().getResource(url);
return loadReport(mainReport);
}
From ResourceLoader (ApplicationContext implements it)
Code:
Return a Resource handle for the specified resource. The handle should
always be a reusable resource descriptor, allowing for multiple
InputStreamSource.getInputStream() calls.
- Must support fully qualified URLs, e.g. "file:C:/test.dat".
- Must support classpath pseudo-URLs, e.g. "classpath:test.dat".
- Should support relative file paths, e.g. "WEB-INF/test.dat". (This will be implementation-specific, typically provided by an ApplicationContext implementation.)
So I'd try the file:/path/to/file to see if that does it.