Hi;
My goal is to redirect or refresh my page while downloding excel file :
Details :
In my application i am sending dynamically generated excel file
setContentType("application/vnd.ms-excel; charset=windows-1254");
setCharacterEncoding(Constants.ENCODING);
setHeader("content-disposition", "attachment;filename=" + Constants.DEFAULT_EXCEL_FILE);
setHeader("Location","http://www.google.com");
But after asking user to save or open excel file, it didn't redirect to ex : google.com.
Is it possible to do it in header part ? If yes please say how .
Thanks.