Solved

downloading an html file as .doc

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
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 …
The viewer will learn how to implement Singleton Design Pattern in Java.

726 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