This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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 wrote the content to the Stream. i also set the content type to text/rtf and application/msword...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???also i dont want the Save As dialog box...... 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
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
1
posted
0
The only markup the browsers know is HTML - you will have to convert the RTF to HTML, which is certainly possible. Bill
Hi Thanks for your information. Can you tell me how to convert the RTF format data into HTML data.i want to know whether i have to go for 3rd party tool in order to convert the RTF data to HTML data or in which way i have to convert the RTF data to HTML data. Thanks and Regards Kumaran.S
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
1
posted
0
RTF is supposedly a format with a published standard, so it is not surprising that a conversion library has been created. I found the following by searching at Google. It is from the comp.lang.java.softwaretools newsgroup dated Sept. 3 About ScroogeXS: ScroogeXS for the Java(tm) platform is a bean which can convert a small subset of the RTF code to HTML. It can be used to... - easily let users build and modify Internet pages without knowledge of HTML - automatically migrate large text archives from RTF to HTML - build rich-media content management systems Feature list: - well-formed output using CSS - high conversion speed - supports many RTF "dialects" - royalty-free, includes full source code - also available for Borland(tm) Delphi(tm) A ScroogeXS demo application is available on the BetaSoft download page at http://www55.pair.com/betasoft/download.html. This demo version can not be installed as a JavaBean, it contains only an executable JAR with the RTF to HTML converter. ScroogeXS for the Java(tm) platform will be ready for public release soon. If you want to be notified about the release date, please send an e-mail to scroogexs@betabeans.de. Greetings, Michael Justin BetaBeans - Freeware and Shareware JavaBeans(tm) http://www.betabeans.de
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Displaying RTF data in IE as well as in Netscape