0

i have deployed WAR File to Wildfly 9 as [Zipped WAR][unexploded],so how can i access JSON resource files inside WAR.i tried many ways but not working.attached screenshot for reference. screenshot

Selvakumar
  • 21
  • 1
  • 6
  • There is no screen shot and this is a fairly broad question. Have a look at `Class.getResourceAsStream()`. – James R. Perkins Apr 03 '18 at 15:53
  • Yes James,i will explain,i have JSON file in resource folder how can i access that file, kindly check attached screenshot now (Question corrected) – Selvakumar Apr 04 '18 at 06:41
  • Again have a look at the [`Class.getResourceAsStream()`](https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#getResourceAsStream-java.lang.String-). – James R. Perkins Apr 04 '18 at 16:04

0 Answers0