This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes For editing server files in WEB Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "For editing server files in WEB Application" Watch "For editing server files in WEB Application" New topic
Author

For editing server files in WEB Application

Edward Durai
Ranch Hand

Joined: Oct 09, 2004
Posts: 223
Hello Experts,

I am using tomcat 5.0 for my web application. I am storing excel files in the tomcat server loaction.

i am displaying files with links for viewing the file.

but if i change any content of the viewing file after saving, it is not affected.

how can i edit the server files?

Please advise.


Thank You<br />Edward
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
You will need to upload the altered file to the web app.


Ping & DNS - my free Android networking tools app
Edward Durai
Ranch Hand

Joined: Oct 09, 2004
Posts: 223
without uploading the document, is it possible to open and save the existing server document?

please advise.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
Not over HTTP (unless you implement something fancy using WebDAV, but I'm not sure if Excel supports that). Would a standard file server work?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: For editing server files in WEB Application
 
Similar Threads
How to Do it
Serve files outside the context
What are the files required
War File on Web Server Communicating to ear File on Application Server?
Help me Out