Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Download dialog

 
Naren Desai
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Download servlet which downloads the results of search function in text file.
There is no problem when I test download function in my local (WSAD)workspace. There are no errors or anything..The results are downloaded to a text file.
When this is deployed on a WebSphere 5.1.1.3 AIX environment, for some reason the File Download dialog never pops up?

Are there any security related settings are which are preventing File Download dialog to open when this deployed to WebSphere 5.1.1.3

Servlet has the following headers set
resp.setContentType( "application/x-download" );
resp.setHeader( "Content-Disposition", "attachment; filename=" + downloadFileName );


In my Jsp the download button is inside a iframe.
input type="button" onklick="handleDownLoad(bean.getDownloadURL()"
value="Download"


Please help me out

Thanks
Nah
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"nah nah",

You have already been asked before to adjust you name to JavaRanch standards.

Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"nah nah",
please re-read the request to change your display name here and correct your diaply name.

thanks,
David O'Meara.
 
Naren Desai
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
display name edited!

Any suggestions for File Download dialog issue I have posted earlier???


Thanks in advance.
Nah

[ August 11, 2005: Message edited by: nah desai ]

[ August 11, 2005: Message edited by: nah desai ]
[ August 16, 2005: Message edited by: nah desai ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic