473,748 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8250
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*****@hotmai l.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
1701
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 should only be displayed to authenticated users. My problem is, a user that knows the pdf file name can simply enter in the URL for the pdf and apache will serve it up. How can I protect assets like pdf files from being served when a user
3
4795
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 applet while I was viewing the webpage online but I got no reference of it on my local drive. regds, Yogesh Joshi
14
2526
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
1422
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 error: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. ...
2
1972
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 function. This function checks the hash value of some ini-files. If the hash value is not valid then the function throws an error. Imagine we are editing the code behind file of an aspx-page. If we now want to view the aspx-code we double click the...
0
1016
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 that resource string, even if all this happens while I'm viewing the web site. Is it possible to CHANGE and EXISTING string in the resx file? I don't see any method on the ResourceWriter for this. AddResource for an existing resource doesn't...
5
2735
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
9632
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 same data. I am confused how: If the following line, which dictates which XSL file should be used to transform my XML document for me, is found *in the XML file itself* then how can you use more than one XSL to present multiple views of the same...
34
1921
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
9548
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9374
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9325
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4876
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.