The problem is when I try to open the document.  I have been able to bring
up a Word window with the document using Netscape, but we are required to
use IE.  I have set the content type of the servlet response to
application/msword, application/rtf, and text/rtf without success (the last
two I found in Netscape).  IE will just give me a 'The page cannot be
displayed error'.

On the few ocassions when I have been able to bring up a Word screen (mostly
using Netscape) it will give me an error saying
"Word cannot open the document.
 Try one of the following:
 * On the file menu, click Open to Open the document.
 * Make sure the document has a .DOC extension"

Probably I should also mention that I did change the default content type
for RTF documents in Windows to the ones I was using in the servlet.

William J Ortiz
Information Analyst Associate
XGAF - Metered Supplies
Phone: (716) 427-6892
e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
e


-----Original Message-----
From: Purav [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 01, 2000 3:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [SERVLET-INTEREST] Servlets and RTF


Hi,

So where are you facing the problem. i.e in creating the RTF document or
opening the RTF document


Purav


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Ortiz, William J
Sent: Thursday, August 31, 2000 11:46 PM
To: [EMAIL PROTECTED]
Subject: Servlets and RTF


Hi folks:

Thanks for your responses to my last question.  Now I have to ask another
one and I hope somebody can answer:

I've gotten a new requirement to create RTF documents on a servlet, the
browser should then open MSWord and view the output.  I've created the
template and set the contentType to aplication/msword, but it won't work!!
Could you direct me somewhere where I could learn how to accomplish this, or
could somebody tell me how to make it work? does a contentType specific for
RTF exist?? Thnks!!


William J Ortiz
Information Analyst Associate
XGAF - Metered Supplies
Phone: (716) 427-6892
e-mail: [EMAIL PROTECTED]
e

___________________________________________________________________________
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

___________________________________________________________________________
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