Greetings In the webapp \ WEB-INF folder there is an XML file with data for initial loading of the database: webapp \ WEB-INF \ orders.xml
On the server side I do:
final File xmlFile = new File("WEB-INF/orders.xml"); But when I start the application, I get an error from TomCat:
D:\apache\Tomcat8024\bin\WEB-INF\orders.xml (Системе не удается найти указанный путь) those. TomCat is not looking for the XML in the application directory \ WEB-INF but in the bin-folder of the server itself. I understand that it is necessary somewhere to indicate the path, but I do not know where.