I must be missing some fundamental difference between the way a HTTP GET works and the way the jQuery .ajax() get works.
This
servlet exports a table of information to Excel and it works fine when this I use this URL:
"localhost:8080/mfgweb/AbsenteeismExcelExport?startdate=20130601&enddate=20130615&numrecords=25"
So why doesn't it work when I use this jQuery code?
By my reasoning I shouldn't have to do anything with the results in the javascript code because the servlet sends the results directly to the PrintWriter. I can see the GET request in Firebug and the response but I never get the dialog box to open or save the Excel file.
What am I missing?
[EDIT] I just found
this thread. It seems I'm trying to do the impossible. Back to the drawing board.