tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A <joey122...@yahoo.com>
Subject Re: JSP WhiteSpace
Date Sat, 21 Aug 2004 21:43:11 GMT
Not exactly sure what you mean.

When i create a table there is 3 or 4 lines of white
space between each row.  Stylesheets cant remove this
 
--- Schalk Neethling <schalk@volume4.co.za> wrote:

> So if I understand correctly then this is the view
> users have of the 
> page. Have you tried using CSS to control the way
> the table behaves?
> 
> A wrote:
> 
> >In the compiled JSP page - I dont want to remove
> white
> >space from the code for the sake of readability
> >
> >
> >--- Schalk Neethling <schalk@volume4.co.za> wrote:
> >
> >  
> >
> >>Are you talking about about white spaces in the
> code
> >>or the rendered 
> >>page itself?
> >>
> >>Parsons Technical Services wrote:
> >>
> >>    
> >>
> >>>Then they are using a very odd or out dated
> >>>      
> >>>
> >>browser. Thus a very small
> >>    
> >>
> >>>percentage of the users will have problems.
> >>>
> >>>Doug Parsons
> >>>www.parsonstechnical.com
> >>>
> >>>
> >>>----- Original Message ----- 
> >>>From: "A" <joey122mac@yahoo.com>
> >>>To: "Tomcat Users List"
> >>>      
> >>>
> >><tomcat-user@jakarta.apache.org>
> >>    
> >>
> >>>Sent: Saturday, August 21, 2004 12:22 PM
> >>>Subject: Re: JSP WhiteSpace
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>Well what happens if your users cannot accept
> >>>>        
> >>>>
> >>zipped
> >>    
> >>
> >>>>content - your pretty much screwed then if you
> >>>>        
> >>>>
> >>choose
> >>    
> >>
> >>>>this method.  I woul dprefer a way of doing this
> >>>>without compressing the output.
> >>>>
> >>>>Any ideas?
> >>>>
> >>>>
> >>>>--- Tim Funk <funkman@joedog.org> wrote:
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>Use mod_gzip. (If using apache, or tomcat 5
> also
> >>>>>supports compressing on the
> >>>>>HTTP connector) The whitespace becomes a
> >>>>>          
> >>>>>
> >>non-issue
> >>    
> >>
> >>>>>and your *really* save
> >>>>>bandwidth.
> >>>>>
> >>>>>-Tim
> >>>>>
> >>>>>Jack Kada wrote:
> >>>>>
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>>>Developers,
> >>>>>>
> >>>>>>I have completed a JSP project but when i view
> >>>>>>            
> >>>>>>
> >>the
> >>    
> >>
> >>>>>>source of the HTML pages there are loads of
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>whitespace
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>>>in between tables rows.
> >>>>>>
> >>>>>>I am using Tomcat 5 and in the mailing list
> read
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>that
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>>>there is a parameter called trimSpaces().  I
> >>>>>>            
> >>>>>>
> >>tried
> >>    
> >>
> >>>>>>this but it had no effect on the webpage.
> >>>>>>
> >>>>>>If i could remove whitespace without touching
> >>>>>>            
> >>>>>>
> >>JSP
> >>    
> >>
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>code
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>>>i would save a lot of bandwidth.
> >>>>>>
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
>
>>>---------------------------------------------------------------------
> >>>      
> >>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>To unsubscribe, e-mail:
> >>>>>tomcat-user-unsubscribe@jakarta.apache.org
> >>>>>For additional commands, e-mail:
> >>>>>tomcat-user-help@jakarta.apache.org
> >>>>>
> >>>>>
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>_______________________________
> >>>>Do you Yahoo!?
> >>>>Win 1 of 4,000 free domain names from Yahoo!
> Enter
> >>>>        
> >>>>
> >>now.
> >>    
> >>
> >>>>http://promotions.yahoo.com/goldrush
> >>>>
> >>>>        
> >>>>
>
>>>---------------------------------------------------------------------
> >>>      
> >>>
> >>>>To unsubscribe, e-mail:
> >>>>        
> >>>>
> >>tomcat-user-unsubscribe@jakarta.apache.org
> >>    
> >>
> >>>>For additional commands, e-mail:
> 
=== message truncated ===


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message