- We want to load some resources from "WEB-INF/someDir"in EAP6.
- Earlier in JBoss AS4 versions it was possible to load resources from "WEB-INF/someDir" as following:
String res="/WEB-INF/someDir/test.properties"; InputStream inputStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(res);
- However now in EAP6 it returns "is=inputStream"
- JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.