I am doing an web application which reads a file as input and extracts its data and store it into Database.It's working well in eclipse workspace.And I exported that project as war file and deployed using tomcat,but StudentDAO class couldn't find the file.I am having input files in the 'res' folder.com.task3.StudentDAO accessing input file under res folder.Finally my doubt is where to place the res folder when I export the project as war file.
class StudentDAO{
public StudentDAO(){
// TODO Auto-generated constructor stub
filePath="res/serverOut_2014-10-22.txt";
}
}