I haven't tried this but try to modify the config/global-web-application.xml
and add a mapping for the jsp servlet:
servlet-mapping
servlet-namejsp/servlet-name
url-pattern/*.doc/url-pattern
/servlet-mapping
-Original
, 2001 5:03 AM
To: Orion-Interest
Subject: RE: How do I map a .doc extension to a .jsp execution
I haven't tried this but try to modify the
config/global-web-application.xml
and add a mapping for the jsp servlet:
servlet-mapping
servlet-namejsp/servlet-name
PROTECTED]]
Sent: Tuesday, February 27, 2001 5:03 AM
To: Orion-Interest
Subject: RE: How do I map a .doc extension to a .jsp execution
I haven't tried this but try to modify the
config/global-web-application.xml
and add a mapping for the jsp servlet:
servlet-mapping
servlet
PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Fyffe Carl
Sent: Tuesday, February 27, 2001 11:18 AM
To: Orion-Interest
Subject: RE: How do I map a .doc extension to a .jsp execution
Guys,
I could be wrong here, but you may want to try just setting the mime type
that is sent to the browser. I
Add the following lines to web.xml for your app
servlet-mapping
servlet-namejsp/servlet-name
url-pattern/*.doc/url-pattern
/servlet-mapping
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christian
Kvalheim
Sent: Tuesday, 27 February
Christian,
In your reponse object you have to set the MIME type (content type) to
"application/vnd.ms-word"
This might only work with MS Office 2000. You can find more (with some
digging) at msdn.microsoft.com
Peter