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 = contentString.replace( "\n", "" );
contentString = contentString.replace( "\t", "" );
response.setContent( contentString );
return response;
}
Be careful, though. It will work, but it will mess up stuff in pre-
tags and within textareas.
Cheers,
- Hugi
On 20.5.2009, at 16:29, Amedeo Mantica wrote:
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 ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]