URL url = null;
WOApplication application = WOApplication.application();
if (application != null) {
WOResourceManager resourceManager = application.resourceManager();
if (resourceManager != null) {
url = resourceManager.pathURLForResourceNamed(fileName, frameworkName, languages);
}
}
return url;
}