This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transfer Contents to Microsoft Word  RSS feed

 
Angela lewis
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP page, when the user requests it all the contents are opened in a word document.
For this i am using the following in the JSP page:
<%@ page contentType="application/vnd.ms-word" %>
But there is one problem in this. Because I have used <table> tags extensively, in word it displays lines within each table(for each <tr> and <td> . If I comment out this line then the contents are displayed properly in HTML without any lines. There is only a problem when transferring contents to Word.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!