I have a java web application. This app reads 2 excel file and process them and display the result on the screen. I am using Eclipse and tomcat v9 to implement and run the application locally. I have put the excel files in the root of the application. I have a function in ProcessFileUtility.java class that takes the file name of two excel files and process them. I give the absolute path of those two excel files to that function and it works on my local. But when I export the web application as .war file and deploy it on the tomcat server, I don't see my data displayed and my immediate guess is that the file path provided is an absolute path and should be some thing else. I know this question has been asked already but after reading many of them I am still struggling what to do. Can some please help me with this problem. I have also put an screen shot of the structure of my application.
Here is the path to excel files :
ArrayDataModel<Record> records = this.processDataSources("C:\\EEworkspace\\PVvalidation\\ppmsOrigin.xlsx", "C:\\EEworkspace\\PVvalidation\\product_database-reverse-column.xlsx");