Solved

downloading an html file as .doc

Posted on 2004-04-28
7
166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

717 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