tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiroshi Iwatani <HGA03...@nifty.ne.jp>
Subject Re: JSP WhiteSpace
Date Sun, 22 Aug 2004 07:17:26 GMT
Read JSP 1.2 spec 2.3.7 'White Space'.

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:
>>
>>tomcat-user-help@jakarta.apache.org
>>
>>>>
>>>>   
>>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>
>>>To unsubscribe, e-mail:
>>
>>tomcat-user-unsubscribe@jakarta.apache.org
>>
>>>For additional commands, e-mail:
>>
>>tomcat-user-help@jakarta.apache.org
>>
>>> 
>>>
>>
>>-- 
>>Kind Regards
>>Schalk Neethling
>>Web Developer.Designer.Programmer.President
>>Volume4.Development.Multimedia.Branding
>>emotionalize.conceptualize.visualize.realize
>>Tel: +27125468436
>>Fax: +27125468436
>>email:schalk@volume4.co.za
>>web: www.volume4.co.za
>> 
>>This message contains information that is considered
>>to be sensitive or confidential and may not be
>>forwarded or disclosed to any other party without
>>the permission of the sender. If you received this
>>message in error, please notify me immediately so
>>that I can correct and delete the original email.
>>Thank you.
>>
>>
>>
>>
> 
> ---------------------------------------------------------------------
> 
>>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: tomcat-user-help@jakarta.apache.org
> 
> 

-- 
Hiroshi Iwatani

*stop cruelty* Annual number of institutionally euthanized cats and dogs 
including kittens and puppies: US 5 million, JP 500 thousand. How about your 
country? *for our better karma*
---------------------

---------------------------------------------------------------------
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