Change file name

This commit is contained in:
Graham Triggs 2017-09-06 19:30:48 +01:00
parent d508f09ed9
commit 7b38c2e8e7

View file

@ -57,7 +57,7 @@ public class FedSearchController extends PagedSearchController {
Map<String, Object> body = new HashMap<String, Object>(); Map<String, Object> body = new HashMap<String, Object>();
response.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8");
response.setContentType("text/xml;charset=UTF-8"); response.setContentType("text/xml;charset=UTF-8");
response.setHeader("Content-Disposition", "attachment; filename=search.xml"); response.setHeader("Content-Disposition", "attachment; filename=FS.xml");
ApplicationDao aDao = vreq.getUnfilteredWebappDaoFactory().getApplicationDao(); ApplicationDao aDao = vreq.getUnfilteredWebappDaoFactory().getApplicationDao();
ApplicationBean applicationForEditing = aDao.getApplicationBean(); ApplicationBean applicationForEditing = aDao.getApplicationBean();