• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to open the RTF format data in Netscape and IE

 
kumaran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
our database contains RTF format data.i read the data using JDBC-ODBC driver through Servlets and i want to display it in the browser as RTF format.
so i read the data from the database and i changed the content-type to application/rtf then i wroite the content to the Stream.
i also set the content type to text/rtf...sometimes if i installed the QuickViewPlus plugin it's working fine in Both Netscape as well as in IE.can anybody tell me without plugin can we do it in the browser???
without plugin it's not working for me.
This is my need...i want to display the data in RTF format in the browser which is compatible with Netscape as well as in IE.
anybody knows how to do this???
i appreciate ur help
Thanks & regards
Kumaran.S
------------------
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18154
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try setting the content type to "application/msword" instead.
 
kumaran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim
if i set the content type to application/msword...in Netscape it is asking for whether you want to Open it or Save it to disk.but i dont want this dialog box.
i want to know whether is it possible for me to open the page in the browser itself.[IE as well as in Netscape]
Thanks and Regards
Kumaran.S
 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kumaran
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic