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 22:14:28 GMT
I know its not part of the spec - what is the
workaround / is there a workaround current developers
have used.

Thank you

--- Hiroshi Iwatani <HGA03630@nifty.ne.jp> wrote:

> 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.
> >>
> 
=== message truncated ===

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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