Solved

downloading an html file as .doc

Posted on 2004-04-28
7
155 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

862 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

23 Experts available now in Live!

Get 1:1 Help Now