There is excessive white space in the HTML source of your pages.
Make sure that you don't have carriage returns in your script files. And, use line killers to avoid extra carriage returns. For example:
<%@page import="...." %><%
// jsp scriptlet for example
The white space usually comes from your JSP/ESP scripts where carriage return characters are not handled.