Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Opening MS Word

 
Emil Karlsson
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"%>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic