I have a java application where I am trying to download a text file that will be included in a jar.
When I do getClass().getResource("/a/b/c/"), it can create a URL for this path, and I can print it, and everything looks fine.
However, if I try getClass().getResource(/a/b/../"), I get the URL nullback.
It doesn't seem to like ..on the go. Does anyone see what I'm doing wrong? I can post more code if this is helpful.
source
share