Obtaining a Path to a resource in a jar/war

后端 未结 0 2010
广开言路
广开言路 2020-12-11 19:01

I\'m trying to access a file within the \'current\' jar using NIO2. "myText.txt" is at the root of the resources folder. Code:

        URI uri = myC         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题