If you want a relative path to your application web, you need javax.servlet.ServletContext
.
With the class org.apache.struts2.ServletActionContext
, you can try:
ServletContext context = ServletActionContext.getServletContext();
String path = context.getRealPath("/ReportCSV/ReportDownload.csv");
CSVWriter writer = new CSVWriter(new FileWriter(path), '\t');