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 ------------------
Try setting the content type to "application/msword" instead.
An IDE is no substitute for an Intelligent Developer.
Joined: Oct 02, 2001
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
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.