I have a java app where I'm trying to load a text file that will be included in the jar.
When I do getClass().getResource("/a/b/c/")
, it's able to create the URL for that path and I can print it out and everything looks fine.
However, if I try getClass().getResource(/a/b/../")
, then I get a null
URL back.
It seems to not like the ..
in the path. Anyone see what I'm doing wrong? I can post more code if it would be helpful.