?
Solved

downloading an html file as .doc

Posted on 2004-04-28
7
Medium Priority
?
170 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 1000 total points
ID: 10950370
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

800 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