Use a servlet instead, where you can better control the output, or run your jsp tags all together on the same line (no newlines between them):
<% // code here
instead of on separate lines like:
<% // code
Hmm another idea just popped in to my mind, you may be able to write a Filter that removes all leading whitespace from the output, and apply this filter to your JSPs. I haven't thought this one out...