aspose file tools
The moose likes Servlets and the fly likes export content to a text file using servlet with save dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

export content to a text file using servlet with save dialog

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 234
my application using GWT, and I plan to use servlet to export the data in gwt to a text file, but I do not know how to export the data to a text file (with a prompt of save dialog) using servelt, anyone can help?
I see some article said need to use the URL class??
I do not know how to set the destination of outputstream, or just set the header, content type is ok?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56229
    
  13

Please do not post the same question more than once.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: export content to a text file using servlet with save dialog
 
Similar Threads
Downloadinf a file from server
How to set browser title using HTTP Header from a Servlet?
Export to excel question
Downloading file from server
export content to a text file using servlet with save dialog