File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Opening MS Word Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Opening MS Word" Watch "Opening MS Word" New topic
Author

Opening MS Word

Emil Karlsson
Ranch Hand

Joined: May 23, 2002
Posts: 63
Hi,
does anyone know if it's possible to open MS Word from a jsp page and send some text(ex.Name, Adress and so on) to be displayed in the word-document?
/Emil Karlsson
Rachel Thomas
Greenhorn

Joined: May 22, 2003
Posts: 1
Well to open Ms-Word and send text to it, just set the mimeType in the contentType attribute in the Jsp page directive to application/msword which enables the results of the jsp page to be viewed in a Ms-Word application.
e.g
<%@ page language="java" contentType="application/msword"%>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Opening MS Word