JSP to download an exe...
800790Jan 27 2008 — edited Jan 27 2008HI!
Im trying to write a jsp file that will allow me to download a exe file (after some security checks).
The only issue is that on some computers, it downloads the exe file as myExe.exe?jsession=dfuahysdfjkasd
Which is confusing to my users.
I am using
"
response.sendRedirect(response.encodeRedirectURL("http://www.mydomain.com/MyFile.exe"));
"
to allow the user to download the file from my site, is there any way to stop the browser from adding the jsession information in the file name?
Thanks!!