aspose file tools
The moose likes Struts and the fly likes download content is outputting to my browser not creating a download file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "download content is outputting to my browser not creating a download file" Watch "download content is outputting to my browser not creating a download file" New topic
Author

download content is outputting to my browser not creating a download file

Mark Tobin
Ranch Hand

Joined: May 05, 2010
Posts: 37
Hi I am trying to download file of xml created by my application.

I have the following action



Instead of getting the downlaod prompt TestResults are outputted straight onto my browser
Mark Tobin
Ranch Hand

Joined: May 05, 2010
Posts: 37
You need to force it, it will default to the browser since it is XML

so need the following


Added attachment
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: download content is outputting to my browser not creating a download file
 
Similar Threads
Browser gets refreshed after file download in Struts2
StreamResult changes file name during download on Mobile phone
downloading a file ok; also want to navigate to another page in the same action not sure how to
Download file issue
PDF download Using Struts