How to read a file on Extension Java
Application Type
Traditional Web
Service Studio Version
Platform Version


We are using Outsystems 10 - Java platform and have a requirement where in, we need to read a file present in extension. I added the file onto extension by copying the file on ResourceTree and then setting Deploy action to 'Copy to Binary/Application directory'. However when i try to read the file by ClassName.class.getClassLoader().getResourceAsStream(fileName), I am getting FileNotFoundException. Kindly let know how to read the 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.