Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

A Stupid Question

843834Jul 15 2001 — edited Jul 16 2001
How to let dymamically-generated XML contents to be directly downloaded into files by the dowload dialog box with a web browser, instead of being displayed by that web browser?

Thanks in advance

michael

Comments

843834
I suggest you to use the java API to automatically zip it at request time.

a file of the mime type application/zip opens the save as dialog box

a file of the mime type text/xml will be opened in the browser by XML-complient browsers, older browsers will open a dialog box.
843834
Thank you! I'll try this out.
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 13 2001
Added on Jul 15 2001
2 comments
55 views