Sunday, 20 July 2014

Finding XML file path in hibernate project



I am working on an hibernate project in which I need to read an xml. I placed those xmls in the same folder as the servlet from which I am trying to access those xmls. Now I don't know what is the correct path to access those xmls. Here is my project file structure. As can see, xmls are placed in com.strategycreator folder. Project tree structure


I can't place the xmls in a public directory as they need to be in a secure location.


No comments:

Post a Comment