wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Saving a html page as a word document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Saving a html page as a word document" Watch "Saving a html page as a word document" New topic
Author

Saving a html page as a word document

rita mistry
Greenhorn

Joined: Dec 04, 2001
Posts: 27
Hi All,
Is it at all possible to save a html page as a word document at the click of a button.
Basically the html page will have a form where the user enters their details. However, instead of submitting I want to save that page will all the entered details as a word document by clicking a button.
Is this at all possible?
Any help will be very much appreciated.
Many Thanks,
Rita.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Rita, are you wanting to save the Word file on the server side, or display it to the client?
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
swaroop shastri
Ranch Hand

Joined: Aug 15, 2001
Posts: 65
I am assuming that the completed form is saved as a word document on the client and the form is never submitted to the server. This can be done using javascript. You might want to research on document.open(...) method. Also, you need to know the word doc format.
Arathi Rajashekar
Ranch Hand

Joined: Nov 20, 2001
Posts: 112
Originally posted by Bear Bibeault:
Rita, are you wanting to save the Word file on the server side, or display it to the client?
bear

Hi
How do you save the word file on the server side. Later how do you access that word file to see the client details.
Thanks Arathi


Arathi<br />Sun Certified Java Programmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Saving a html page as a word document
 
Similar Threads
edit and save word and excel documents from browser
How to convert Word Doc to HTML using Java
saving a html file as word document on click of a button
Design document
html inquiry