well, that is what i was thinking. In fact, when you see the content of any
RTF file though a DOS command prompt, you can see lines like the following:
\par }{\b\f35\fs24 DON\rquote T }{\b\i...... (etc, etc..)
that is some understandable but what about a word document. What kind of
instructions must be written in the servlet code in order to generate this
type of output file.
I must confess that i'm a little confused.
-Eric.-
-----Original Message-----
From: LeBaron Price [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: How to create a word document through a servlet?
wouldn't this work?
-----Original Message-----
Actually, just typing in msword in the place of vnd.ms-excel works.
You have to set your mime type in the browser settings for the browser to
invoke word when it sees a ms-word content type.
-----Original Message-----
Does anyone know how to invoke MS Word? For instance, in my jsp I can
invoke Excel but not word:
<%@ page contentType="application/vnd.ms-excel" %>
<%-- Note that there are tabs, not spaces, between columns. --%>
1997 1998 1999 2000 2001 (Anticipated)
12.3 13.4 14.5 15.6 16.7
___________________________________________________________________________
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
___________________________________________________________________________
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