Re: How do you configure webDAV

2005-01-10 Thread Pop Qvarnström
This one should work: http://www.coredump.se/~popq/files/filter.zip

/Pop

 Liu Steve wrote:
  Are there known filters that will make the changes in header I suggested
  based on config or one must roll his own?

 Almost certainly, but none that I am aware of. Try Google.

 Mark

  Cheers,
  Steve Liu
   
 
  -Original Message-
  From: Mark Thomas [mailto:[EMAIL PROTECTED]
  Sent: Friday, January 07, 2005 12:40 PM
  To: Tomcat Users List
  Subject: Re: How do you configure webDAV
 
  Liu Steve wrote:
 Hello,
 
 Is there documentation on how to configure the HTTP header properties
 of files delivered by the WebdavServlet?
 
  No. But there isn't any functionality within the webDAV servlet to
  configure either ;)
 
 The only configuration I could
 find for the WebdavServlet are samples with no documentation on all
 available param-name, range of param-value valid for each param-name.
 
  The webDAV servlet extends the DefaultServlet. Have a look in
  conf/web.xml for config options for the DefaultServlet - they can all be
  used with webDAV.
 
 Is there documentation which covers this?  Basically, I'd like to set
 the cache-control portion of the HTTP property of the file delivered
 by the WebdavServlet
 
  There is nothing in webDAV or the DefaultServlet AFAIK that will let you
  configure this.
 
  I think (and I am sure someone will correct me if I am wrong) that you
  can use a filter to set the cache-control headers.
 
  Mark
 
 Cheers,
 Steve

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



Re: [OT] Request an app test (free beer!)

2004-12-21 Thread Pop Qvarnström
SuSE 8.2: Linux
Mandrake 10: Linux
Mandrake 10.1: Linux
Mandrake 8.0: Linux


Sent: Monday, December 20, 2004 2:26 PM
To: Commons User; Struts User; Tomcat User
Subject: [OT] Request an app test (free beer!)


I was informed last OT post I made that the subject should always 
include the word beer.  I added the free to get your attention :)

I'm working on something for which I need to know what the os.name 
property on various OS's is.  I would greatly appreciate it if some 
folks could try the following:

public class test {
public static void main(String[] args) {
System.out.println(System.getProperty(os.name));
}
}

I'm particularly interested in various *nix variants, Linux, Mac and 
such.  Windows I already have answers for (although some verification to

be sure nothing fishy is going on wouldn't hurt).

If you could just post your OS and what the result was, I would greatly 
appreciate it.  Thanks in advance!


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