Skip to main content
5 of 6
replaced http://stackoverflow.com/ with https://stackoverflow.com/
user avatar
user avatar

Noone posted this @Pekka's solution... so I'll post it. It can help someone.

You can't and don't need to do this through Ajax. Just use

window.location="download.action?para1=value1...." 
bluish
  • 27.5k
  • 28
  • 126
  • 185