|
$webwork.htmlEncode($page.space.name) : How do I load a resource from a plugin?
This page last changed on Dec 04, 2006 by jnolen.
The recommended way to get resources from the classpath in Confluence is: InputStream in = com.atlassian.core.util.ClassLoaderUtils.getResourceAsStream(filename, this);
ClassLoaderUtils tries a couple of different classloaders, something we've occasionally found necessary in some application servers. |
| Document generated by Confluence on Jul 26, 2007 22:41 |