![](http://content.invisioncic.com/i328763/set_resources_3/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
arch_1
-
Posts
3 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by arch_1
-
-
Actually found it
-
do you have an updated example of this that does not use deprecated APIs?
How to load .jasper instead of .jrxml
in Products
Posted
I use InputStreams to do the load that way I can have it in either class path or physical file or some other stream source.
InputStream jasperStream = getClass().getResourceAsStream("/Foo.jasper");
JasperReport report = (JasperReport) JRLoader.loadObject(jasperStream);