tomcat's webdav and Premature End of File error ...

2003-07-15 Thread Dinh, Chinh
Hi , I am testing Tomcat's webdav and could open the webdav as a web folder. When I double clicked on a MSOffice (MSWord, PPT, etc.) from the browsed folder, the files could be opened fine. However, with any other files (zip, pdf, txt, xml), it gave me the error : [Fatal Error] :-1:-1:

Re: AUTHENTICATE question with WEBDAV.

2003-07-11 Thread Dinh, Chinh
) Write a custom Authenticator that knows how to pickup the User. Dinh, Chinh wrote in message news:[EMAIL PROTECTED] I have a question about WEBDAV and How authenticate works. If i have this in web.xml BASIC MyCustomRealm It will get an Popup Log in dialog, and it will invoke my realm's

Please Help : STRANGE WEBDAV problem with the setting in WEB.XML

2003-07-11 Thread Dinh, Chinh
Hi, If you install Tomcat 4, you should be able to open webdav as a webfolder by doing : http://localhost:8080/webdav (open as a webfolder). However, if I change the webdav servlet name to another name (eg. mywebdav), and try to open http://localhost:8080/mywebdav, it gave me the error cannot

AUTHENTICATE question with WEBDAV.

2003-07-10 Thread Dinh, Chinh
I have a question about WEBDAV and How authenticate works. If i have this in web.xml login-config auth-methodBASIC/auth-method realm-nameMyCustomRealm/realm-name /login-config It will get an Popup Log in dialog, and it will invoke my realm's authenticate() method, with username

getParameter does not work with webdav servlet

2003-07-10 Thread Dinh, Chinh
Hi I found an interesting problem ... If I run http://../webdavservlet?param1=YYY req.getParameter(param1) returns “YYY” ONLY IF I run the webdav servlet in the regular way (open IE - type in the URL and return). If I run webdav servlet the “webdav” way (File | Open –

WEBDAV and FORM-Based Authentication

2003-07-10 Thread Dinh, Chinh
Does anyone know if it is possible to have a FORM-based authentication with webdav servlet (which is open as a web folder). I have tried, but unsuccessfully. If a servlet runs in a regular way (HTTP://), the form log-in page is displayed. However, if the webdav servlet is open the

Re: REALM question - please help

2003-06-27 Thread Dinh, Chinh
into the Session. 2) If not, or otherwise, have it set a request-attribute with itself as the value. Dinh, Chinh wrote in message news:[EMAIL PROTECTED] Thanks for the response. My situation is like this: - I created my own Realm for webDAV access. When I launch http://localhost:8080/webdav, it will first

REALM question - please help

2003-06-26 Thread Dinh, Chinh
I have a tomcat question for you . In Tomcat’s server.xml, we define a realm (only ONE) Realm classname = “com.mypackage.myRealm” When tomcat starts, I think it will instantiate a realm object of this type . I am trying to find a way to access this realm object in my servlet

Re: REALM question - please help

2003-06-26 Thread Dinh, Chinh
class. - That is the reason I want to be able to get the realm object from the servlet. Any advise ? Thanks . - Chinh Jean-Francois Arcand [EMAIL PROTECTED] wrote: Dinh, Chinh wrote: I have a tomcat question for you . In Tomcat’s server.xml, we define a realm (only ONE) When

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