Hi,
     I am not familiar with webdav. What it, any links??

What your are trying to achieve is perfectly possible. I did something similar.
First of all what sort of files you want to edit in webapps. They are JSPs and
some other
text file, as servlets class files are present, which you would not like to
edit.

I am suggesting a solution. Try implementing a Virtaul File System (if want a
very impressive solution
check out VFS on Apache site
http://jakarta.apache.org/commons/sandbox/vfs/index.html).
Have a servlet which sends you back the file request, you edit and
save the same. At the server your servlet will save the actual file.

A simple flow will be like.

The client connects to the Tomcat
The request goes to the servlet. It opens the requested file and sends the file
to the client as stream
The client has intelliegence to open the text file in an editor.
Edit the file
when save, send the file as a stream to the servlet, whcih will save the same.

This is very simple implementation. You can have loads of options for doing the
same. Build a Swing Client
for the same. Can make the servlet more intelligent by providing more options
like file locking etc There are
utilities on jakarta.tomcat.org which can reduce the development time including
file uploading etc.

regards
Ashish





Anthony Smith <[EMAIL PROTECTED]> on 03/03/2003 08:22:47 PM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>; Please
      respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Ashish Paliwal/HSS)

Subject:  WebDav




I got the latest version of Tomcat.It is on a Linux Box. I wanted to use
webdav inorder to give our developers the ability to modify files in our
webapps in Tomcat w/o having to login to the box and do vi or something, w/o
having to ftp files over or without having to scp files over. We all use
windows boxes and I basically just wanted to do something like Webdav well
they could just see a gui copy the file over edit it and copy it back. Can I
do this with webdav and if so how? And if not are there any other options.

Anthony Smith
GSP Technologies
901-263-8953

"Having education and talent doesn't make you better than the world... it
makes you responsible for it!"


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to