• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transfer Contents to Microsoft Word

 
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!