*
The moose likes JSP and the fly likes JSP to MS Word without 'Save as...' dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP to MS Word without Watch "JSP to MS Word without New topic
Author

JSP to MS Word without 'Save as...' dialog

Emil Karlsson
Ranch Hand

Joined: May 23, 2002
Posts: 63
Hi,
I would like to send data from a JSP page to a MS Word doc. That works fine for me, but what I want to make is that procedure without the 'Save as...' dialog opens! What I mean is that I want to send from JSP to MSWord and directly(without any input from the user) get the submitted text in a word-doc!
I use the <%@ page language="java" contentType="application/msword" %> for the moment! Is there any modification that can be made or some other tag to be used?
/Emil
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Unfortunately, there isn't anything you can do. This is a configuration of the Clients Browser and is up to the end user to properly configure that. You can make the suggestion to your customers and give them Guidelines on setting up serveral browsers but, that's about it.


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Emil Karlsson
Ranch Hand

Joined: May 23, 2002
Posts: 63
Thanks alot Carl!
That sums it up pretty much!
At least it's good to know what the limits are!
/Emil
 
Consider Paul's rocket mass heater.
 
subject: JSP to MS Word without 'Save as...' dialog
 
Similar Threads
MIME Types
How to open MS Word from Java
Opening MS Word
Reports
MS Word to XML conversion