Solved

downloading an html file as .doc

Posted on 2004-04-28
7
153 Views
Last Modified: 2010-03-31
hi guys.
does anyone know a simple way to allow a download an html file as .doc?

I have a web-based application that displays an application form in html. I'd like to add a feature that when the user click "download file". The file will be open in Word and can be save as .doc.

thanks in advance :-)
0
Comment
Question by:marshia
  • 3
7 Comments
 
LVL 7

Expert Comment

by:mark-b
ID: 10943459
Check out:  http://jakarta.apache.org/poi/index.html

It doesn't look like they have Word support yet, but it should be coming soon (according to them).

-Mark
0
 
LVL 7

Expert Comment

by:maheshexp
ID: 10944914
i don't thnink it's a matter of java. for that u can simply create a Doc file and save it as HTML, and place a link in the HTML to download the same Doc file.
0
 

Author Comment

by:marshia
ID: 10948949
thanks for your responses.

mark-b, I'll take a look at the site you had specified. thanks :-)

maheshexp, I'd like to have the .doc file to be the same as what is being displayed. This means that the same html can have different values in it depending on the user. So the creation of .doc file is dynamic in a way. :-)
0
 
LVL 7

Expert Comment

by:maheshexp
ID: 10950245
u need to have the document file with filled values right
0
 
LVL 7

Accepted Solution

by:
maheshexp earned 250 total points
ID: 10950370
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now