Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSP to download an exe...

800790Jan 27 2008 — edited Jan 27 2008
HI!

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!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2008
Added on Jan 27 2008
2 comments
248 views