Re: [Resin-interest] about resin access-log rollover-size question

2011-05-05 Thread Paul Cowan
On May 4, 2011, at 11:08 PM, peng yao wrote: Thanks, I see . But I have a question, can i modify the interval time(2 minutes) It is currently not configurable. I've added a bug report for this; http://bugs.caucho.com/view.php?id=4533 Thanks, Paul 2011/5/5 Paul Cowan

[Resin-interest] Lookup mime mappings defined in app-default.xml

2011-05-05 Thread Edvin Syse
My application is using a custom servlet to deliver files to the browser, so I have to set the content-type of the response manually. I'm wondering if it's possible to lookup the mime mappings defined in my resin configuration somehow so I can use the already defined mime mappings? -- Edvin

Re: [Resin-interest] Lookup mime mappings defined in app-default.xml

2011-05-05 Thread Edvin Syse
To answer my own question: servletContext.getMimeType() does just that it seems :) -- Edvin Den 05.05.2011 21:41, skrev Edvin Syse: My application is using a custom servlet to deliver files to the browser, so I have to set the content-type of the response manually. I'm wondering if it's