I want to read a file from the resource folder, please provide a solution on how to read file from the resource folder
FOlder structure looks like :-
  • src/main/java for the java code
  • and src/main/resources location from which i need to read the xml file.



Please suggest solution for the problem
I appreciate the help in advance.

Regards
DeRohit