Contact:   Tel: 2726  -  New Media Systems, 1st Floor South, Queens Walk


Creating msword document is very much an Intranet application issue as you can
never guarantee that your client has even the MS Office installed! MS Word is
microsoft specific.


If your application IS an Intranet applciation, then there is quite a few ways
of creating a MS word document in web page, using either Java, JavaScript or
VBScript.. Of all those options, VB Script is probably the easiest approach.
This is because VBScript is Microsoft specific and therefore is designed to
handle ActiveX document very easily. JavaScript is also not too difficult but
you need more recent version. To do it in Java on the server, your server will
have to be on Window platform (NT) where you can generate Java wrappers from the
msword.tlb file installed when you install MS Office. It is however a very
clumsy way of doing it (my personal opinion) and should be avoided whenever you
can.

In all of these options above, you would usually design some word document
templates with some variables predefined, which can be replaced at run-time with
real values. VB script and Javascript can all easily manipulate these variables
in the templates.



Cheers,



Charles

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to