Re: compacting html, whitespaces

2009-05-21 Thread Patrick Middleton
Back in the WO451 days I overrode Application.handleRequest to do some very simple HTML parsing to remove excess whitespace while remaining aware of comments, tags and the like. We used it for some years but abandoned it; it ate CPU, and in terms of the time for a request/response cycle t

Re: compacting html, whitespaces

2009-05-20 Thread Hugi Thordarson
If you're really adventurous, you can try something like this: public WOResponse dispatchRequest( WORequest request ) { WOResponse response = super.dispatchRequest( request ); String contentString = response.contentString(); contentString =

Re: compacting html, whitespaces

2009-05-20 Thread Dan Grec
If you are using Project Wonder you can set the property: er.extensions.ERXApplication.responseCompressionEnabled=true -Dan On 20-May-09, at 10:29 AM, Amedeo Mantica wrote: Hello, Anyone knows if there is a Property or something similar in order to get a compact html output with withespace

compacting html, whitespaces

2009-05-20 Thread Amedeo Mantica
Hello, Anyone knows if there is a Property or something similar in order to get a compact html output with withespaces stripped? Thanks, Regards Amedeo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list