G
Guest
When I serve an html document from our webserver, I set it to open up in
word, which works fine by setting the response type as
String filename = "myDocument.doc";
response.setContentType("application/vnd.ms-word");
The html file opens in word with the title myDocument.doc. The problem is,
when I click save as, it defaults to html, not doc type. Is there anyway to
make it default to doc, not html.
One more thing, in the html version of the document, the tables have a
border of 0, and therefore do not sure up to the user, but when you open up
the html in word, the borders are a slight gray, is there anyway to make them
invisible as well.
Thank you
word, which works fine by setting the response type as
String filename = "myDocument.doc";
response.setContentType("application/vnd.ms-word");
The html file opens in word with the title myDocument.doc. The problem is,
when I click save as, it defaults to html, not doc type. Is there anyway to
make it default to doc, not html.
One more thing, in the html version of the document, the tables have a
border of 0, and therefore do not sure up to the user, but when you open up
the html in word, the borders are a slight gray, is there anyway to make them
invisible as well.
Thank you