This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Opening MS Word

 
Emil Karlsson
Ranch Hand
Posts: 63
  • 0
  • 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
  • 0
  • 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