This content has been marked as final. 
    
Show                 1 reply
    
- 
        1. Re: JSP is generating blank lines at the beginningcamel Sep 10, 2004 6:04 PM (in response to vmoreno)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
 %><jsp:foobar.../>
 instead of on separate lines like:
 <% // code
 %>
 <jsp:foobar.../>
 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...
 
    