Cataclysm
Cataclysm

Reputation: 8548

How can I create save destination chooser of file with GWT?

I want to enhance this question. How can I create File Destination Chooser (as like JFileChooser) in GWT?

I had googled for a long time to get it in GWT. I found GWT FileUpload in most. Any Suggestions for it ?

Upvotes: 0

Views: 507

Answers (1)

dhamibirendra
dhamibirendra

Reputation: 3046

UPDATE: After clearing on question

Well, for this you would need a Download Servlet for the file. There in HttpServletResponse you will fill the content with the file and header with file types and all.

And from your client side call the URL.

For prompting case, it depends upon the browser configuration. You cannot force browser to open location prompt.

For achieving download only, you can refer to download file using gwt

Upvotes: 1

Related Questions