TOMCAT WEBDAV question

2003-06-23 Thread DTC
Hi 
I am trying to use Tomcat's implementation of WEBDAV for my file upload requirement 
.After deploying webDAV as a web folder, I need to open to webdav as a webfolder, and 
upload files by dragging them over from Windows Explorer to IE . 
 
By default, Tomcat’s webDAV does not have a configurable property where we can set the 
rootpath of where the files will be uploaded to (eg. C:/tmp).  I think TOMCAT’s 
implementation “PUTs” the file based on a relative path to the webdav web app 
directory .
 
Right now, when you drag a file over to the webdav folder, it’s treated as a “PUT” 
method, and it will invoke “DefaultServlet”’s service() to do the uploading.
 
Do you know if it is possible to set an absolute root path with Tomcat's webDAV ? if 
it's not configurable, how would we change the code to do this ? 
 
I have been looking at WebDAVServlet, but found no solution yet how to control where 
the files will be sent to .  
 
- Ch



-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

TOMCAT webDAV question

2003-06-23 Thread Dinh, Chinh
Hi 
I am trying to use Tomcat's implementation of WEBDAV for my file upload
requirement .After deploying webDAV as a web folder, I need to open to
webdav as a webfolder, and upload files by dragging them over from Windows
Explorer to IE . 
 
By default, Tomcat's webDAV does not have a configurable property where we
can set the rootpath of where the files will be uploaded to (eg. C:/tmp).  I
think TOMCAT's implementation PUTs the file based on a relative path to
the webdav web app directory .
 
Right now, when you drag a file over to the webdav folder, it's treated as a
PUT method, and it will invoke DefaultServlet's service() to do the
uploading.
 
Do you know if it is possible to set an absolute root path with Tomcat's
webDAV ? if it's not configurable, how would we change the code to do this ?

 
I have been looking at WebDAVServlet, but found no solution yet how to
control where the files will be sent to .  
 
- Ch
 


tomcat webdav question

2002-02-27 Thread Sameer Manepally

Hi,
I am not sure where to send this question, I guess
here would be a good starting point.

Is it possible to configure the webdav servlet in
tomcat to get files from a new filesystem, which has a
java api to access files, rather than the local
filesystem or an an nfs mounted file system.

Slide is supposed to do something like this, but it
has much more functionality than what is needed here
which may make it hard to integrate.

The filesystem that webdav would need to
support is implemented through a mysql server, and
with its own acls. So the webdav servlet would also
need to use a mysql table for authentication which
could be implemented through a tomcat jdbc realm.

How should I go about it?, Do I need to
completely hack the webdav servlet, and implement the
new filesystem code there, or is there a simpler
method, and if this is not the right mailing list
which other mailing lists should I send this question
to. Please let me know.

thanx,
sameer.




__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat webdav question

2002-02-27 Thread Remy Maucherat

 Hi,
 I am not sure where to send this question, I guess
 here would be a good starting point.

 Is it possible to configure the webdav servlet in
 tomcat to get files from a new filesystem, which has a
 java api to access files, rather than the local
 filesystem or an an nfs mounted file system.

 Slide is supposed to do something like this, but it
 has much more functionality than what is needed here
 which may make it hard to integrate.

 The filesystem that webdav would need to
 support is implemented through a mysql server, and
 with its own acls. So the webdav servlet would also
 need to use a mysql table for authentication which
 could be implemented through a tomcat jdbc realm.

 How should I go about it?, Do I need to
 completely hack the webdav servlet, and implement the
 new filesystem code there, or is there a simpler
 method, and if this is not the right mailing list
 which other mailing lists should I send this question
 to. Please let me know.

If you implement a JNDI directory context which would access your
repository, it could work. For the authentication, you definitely need some
kind of custom realm, though.

Some docs:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/resources.html
And see in the javadocs the o.a.naming.resources package.

Remy


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]