473,788 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Online Word Document editing

3 New Member
Hi ,

I am doing a website that shows one word document to everyone. If the users open that and would like to edit the information they can edit.But when they go to save button and saves it, it must be changed on the website such that the users who browses the website can view that........... .
Can anyone provide me the necessary code for saving the document at the server side.

Thanks in Advance
Jan 18 '08 #1
3 2761
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
is the user editing the document in your webpage or downloads it , changes and uploads it back again?

It seems to be a simple overwrite of the file if the user has to download it and then upload it
Jan 18 '08 #2
honeys
3 New Member
Not downloading and uploading...... .we are supposed to edit in the browser itself
Jan 18 '08 #3
Rebecca999
3 New Member
Without uploading or downloading, you can try Ace-offix. The following code is about how to save document online directly.
Expand|Select|Wrap|Line Numbers
  1. FileRequest freq = new FileRequest(request, response);
  2. freq.saveToFile(request.getSession().getServletContext().getRealPath("doc/") + "\\" + freq.getFileName());
  3. freq.close();
Jun 1 '16 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1544
by: Me | last post by:
Hi I am unsure of whether this is the right group to post this but it does relate to asp.net in some way! I want from a .net 2.0 application send down a word 2003 document that has been saved as xml and for my users to edit this word document using their browser (internet explorer 6) How can I do this? Are they any components or tools that will allow
5
3739
by: jmar | last post by:
I posted a week ago and received one response. I'm looking for the opinion of several experienced .NET people before I proceed so I'm posting again. Sorry for the repost... I am updating a VB4.0 quote generation program to VB.net. The old program takes user inputs, performs calculations, saves the data to Access databases and uses Crystal Reports 5.0 to generate a quote. A while back users obviously wanted to be able to edit/e-mail ...
1
2938
by: webgirl | last post by:
Hi everyone, I have a weird problem with some Word/Excel automation code that I run from Access (not sure if I should therefore post this in the Access forum..? Thought I'd try here first) Basically, the code either opens a document (if it exists) or creates it from a template if it doesn't. Docs can be Word or Excel docs. The weird part is that the code was working earlier tonight. But now it's not, not properly, anyway. Now, what...
0
1356
by: ahammad | last post by:
My application opens up a blank Word doc for editing. When I am done editing, I save the file and exit Word. All this will be done while the application is still running. Is there a way to get the file path of the Word document after it has been saved? For example, if I opened a blank file and added two lines of text, then clicked Save As and saved it in my C: drive as "2lines.doc". Then I closed Word. I want to be able to retrieve that...
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10366
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...
1
10112
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
9969
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
7518
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
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5399
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
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2894
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.