473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Viewing a RTF File on Web Site

We have the following problem:
There is a RTF file that must be viewed on browser and we
have been developed a solution in Java to do it. But the
Java's VM is so bigger for download. So, we need a way to
view this file in client side without bigger downloads.
Any help will be welcome, because we work more than a
month in this problem. Thanks.
Jul 19 '05 #1
3 8236
Vsoft wrote:

We have the following problem:
There is a RTF file that must be viewed on browser and we
have been developed a solution in Java to do it. But the
Java's VM is so bigger for download. So, we need a way to
view this file in client side without bigger downloads.
Any help will be welcome, because we work more than a
month in this problem. Thanks.


If the user's browser is hosted on a Windows machine running Internet
Explorer, then RTF files will usually be passed to Microsoft Word,
WordPad, or the Word Viewer. So if your client is on Windows, then you
should have little problem downloading reading RTF files; just make sure
that the RTF file extension is assigned to the appropriate program.
There *are* differences between the acceptable RTF format for various
versions of those programs, however, and those difference may restrict
what you can put in the RTF file.

On client systems other than Windows, you'll have to find an RTF viewer
AFAIK.

You may find that Microsoft's Word DOC file format has more widespread
support than RTF, because there are DOC file viewers/word processors
available on Linux/Unix(Star Office, Open Office).
Jul 19 '05 #2
Thanks for reply.
Because we try it and the printed document wasn't good.
The IE didn't format our document for print like the
original version.
-----Original Message-----

"Vsoft" <pr*****@hotmail.com> wrote in message
news:03****************************@phx.gbl...
We have the following problem:
There is a RTF file that must be viewed on browser and we have been developed a solution in Java to do it. But the
Java's VM is so bigger for download. So, we need a way to view this file in client side without bigger downloads.
Any help will be welcome, because we work more than a
month in this problem. Thanks.

Why not open it in Word and save it as HTML?
.

Jul 19 '05 #3
Vsoft wrote:
Thanks for reply.
OK, but your solution requires that client have a RTF
Viewer in your computer. We'd like a way that requires
only a browser for te client.


AFAIK no browser will natively display RTF files; RTF files are always
passed to an RTF viewer.
In a similar manner, Microsoft Word DOC files are always passed to a DOC
processor, such as Microsoft Word or Star Office. Similarly PDF files
are passed to Adobe Acrobat Reader.

If you want the browser to natively display the file, then output it as
text or HTML (or XML for Internet Explorer recent versions). Or you
could generate a GIF or JPG image of the output and send that to the
browser.
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tom | last post by:
My site requires users to log in. Each php page ensures the user has been authentiated and will redirect to the login page if need be. However the site also has a directory of PDF files that...
3
by: yogesh | last post by:
How to store the java applet emebedded in a web page for offline viewing? I saved the web page but it got saved without the applet.and also I searched for the corressponding .class file for the...
14
by: Brian Maupin | last post by:
I have a refreshing webcam shot on my site and I was wondering if there was a way I could display how many people are currently viewing it? Thanks in advance.
4
by: CW | last post by:
I just took an extensive ASP.NET course and copied my projects to my wwwroot folder and tried opening my default page which consumes some web service. It worked ok at the course but now I get this...
2
by: Matthias H. | last post by:
Hi guys, Our team has a very strange problem. I hope anybody can help. We have a class called webpage and all our aspx-pages bases on it. Then we have a SYS.IO.File Class which have a...
0
by: Selden McCabe | last post by:
I have a web site which supports a number of languages, usiing RESX files. With ResourceWriter, it is possible to add a new resource to an existing RESX file, and later the ResourceManger shows...
5
by: IkBenHet | last post by:
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language="VB" Debug="true" %>
13
by: Toby Newman | last post by:
I started learning XML on Monday. I have an XML file and have written an XSL file to render it to HTML for formatted viewing in a browser. I'd like to create a second alternative view of the...
34
by: Alan Larsson | last post by:
Is there a way i can look at the php code that is runnig a site, without any ind of admin access to the server?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.