White space problem

2004-01-28 Thread McCormack, Chris
the outer c:forEach beans have been looped. The problem is however when the c:if condition is not met a white line is written out by the c:forEach (ie one white line for each iteration regardless of the c:if condition). This ends up with a MASS of white space on the page. Is there anyway to stop

Re: White space problem

2004-01-28 Thread Nicolas De Loof
with a MASS of white space on the page. Is there anyway to stop the c:forEach writing out the white space ? tia Chris *** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error

Re: White space problem

2004-01-28 Thread James Mitchell
: [EMAIL PROTECTED] - Original Message - From: McCormack, Chris [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 5:19 AM Subject: White space problem Hi all I am using struts with jstl. I have a problem that is a bit annoying

RE: White space problem

2004-01-28 Thread McCormack, Chris
Thanks James the first solution worked fine. Chris -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 28 January 2004 13:04 To: Struts Users Mailing List Subject: Re: White space problem Yes, same as with any tag or scriptlet. c:forEach c:if ... /c:if

Re: White Space

2003-12-05 Thread Martin Cooper
: Is there anyway to automatically remove white space blank lines and tabs, but still leave normal lines in place so i can read the html if necessary. I.e. remove any occurances of the following: 1. Empty lines including those just filled with tabs. 2. All other tabs. 3. Trailing white space. Sounds

White Space

2003-12-04 Thread Derek Clarkson
Hi all, This may be a JSP issue - I'm not sure. I've noticed that the output html documents have an extrordinary amount of white space (new lines and tabs). Running some test where I've hand removed it, I've reduced the resulting pages by as much as 40% in size. Is there anyway

RE: White Space

2003-12-04 Thread Wendy Smoak
Derek Clarkson wrote: Is there anyway to automatically remove white space blank lines and tabs, but still leave normal lines in place so i can read the html if necessary. I.e. remove any occurances of the following: 1. Empty lines including those just filled with tabs. 2. All other tabs

Re: White Space

2003-12-04 Thread Derek Clarkson
My thoughts exactly, I just don't know where and how to do this. ;-) On Friday 05 December 2003 11:27, Wendy Smoak wrote: Derek Clarkson wrote: Is there anyway to automatically remove white space blank lines and tabs, but still leave normal lines in place so i can read the html

Re: White Space

2003-12-04 Thread matsuhashi
I would rather use the Ant ReplaceRegexp task to remove unwanted whitespaces. In the ant build process, you process the JSP source with the ReplaceRegexp task, then put them into war file, deploy it to the container. You have full control over the way of chompping whitespaces by programming the

Re: White Space

2003-12-04 Thread Vic Cekvenich
Consider Tidy from W3.org or jTidy on sf.net for html clean up. .V Derek Clarkson wrote: My thoughts exactly, I just don't know where and how to do this. ;-) On Friday 05 December 2003 11:27, Wendy Smoak wrote: Derek Clarkson wrote: Is there anyway to automatically remove white space blank

Re: White Space

2003-12-04 Thread Derek Clarkson
Hmmm, I don't know if this would work. From what I can see, most of the white space is left over from tomcat/struts removing the tags during processing. The problem seems to be that the servers are not recognising that in their processing they have effectively removed all text from those parts

Re: White Space

2003-12-04 Thread Derek Clarkson
of the white space is left over from tomcat/struts removing the tags during processing. The problem seems to be that the servers are not recognising that in their processing they have effectively removed all text from those parts of the documents and in response, then removing the lines

white space on jsp compile

2003-08-01 Thread Brown, Melonie S. - Contractor
; } } Original Message Subject: white space on jsp compile Date: Thu, 31 Jul 2003 20:21:08 +0100 From: Mike Whittaker [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.struts.user Is there any way to control it? It seems a little excessive

RE: white space on jsp compile

2003-08-01 Thread Alex Shneyderman
[mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 9:43 AM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: white space on jsp compile Mike, The whitespace and formatting really bugged me as well, so I wrote a servlet filter to run the generated html through the Java port of Html tidy

white space on jsp compile

2003-07-31 Thread Mike Whittaker
Is there any way to control it? It seems a little excessive I'd like to retain it in the JSP, and remove as much as possible in the html -- Mike W - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: white space on jsp compile

2003-07-31 Thread Ditlinger, Steve
To: Struts List Subject: white space on jsp compile Is there any way to control it? It seems a little excessive I'd like to retain it in the JSP, and remove as much as possible in the html -- Mike W - To unsubscribe, e

Re: white space on jsp compile

2003-07-31 Thread matsuhashi
[EMAIL PROTECTED][EMAIL PROTECTED](B: "Struts List" [EMAIL PROTECTED] world.com cc: