aspose file tools*
The moose likes Servlets and the fly likes File Download dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "File Download dialog " Watch "File Download dialog " New topic
Author

File Download dialog

Naren Desai
Greenhorn

Joined: May 12, 2005
Posts: 3
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

Joined: Jan 10, 2002
Posts: 60997
    
  65

"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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"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

Joined: May 12, 2005
Posts: 3
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Download dialog