I just did this very thing to set the max form content size - it's ugly, but it works:
//set the maximum size post for a form
for(handler <- server.underlying.getHandlers){
if(handler.isInstanceOf[ContextHandlerCollection]){
for(h <- handler.asInstanceOf[ContextHandlerCollection].getHandlers){
if(h.isInstanceOf[ServletContextHandler]){
h.asInstanceOf[ServletContextHandler].setMaxFormContentSize(...)
}
}
}
}
On Mon, Nov 22, 2010 at 12:38 PM, devnewb [via Databinder]
<[hidden email]> wrote:
Thanks for your help, will try this out when back from holiday later in the week.