Re: unwanted emty lines in produced html
> > The biggest program is taglibs within logic:iterate if you try something > > like: > > > > > > instead of: > > > > > > > > > > You will find you get a lot fewer blank lines. > Then you have totally unreadable and unmanageable html. The key here is using the end carrot trick as mentioned above. It seems to me to be the quickest solution to the issue, namely: But yeah, that is ugly. The sweetest solution would be to wrap the whole page in an html tidy taglib which will callback the whole page into a formatter. The problem with that is that you lose all output buffering. Ideal, the JSP engine would look for a preceding "\n" if it find a jsp tag and clip it with the jsp tag. So again, not a struts issue. Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "When you're raised by the Jesuits, you become either obedient or impertinent" -- Jack McCoy, "Law and Order" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted emty lines in produced html
Then you have totally unreadable and unmanageable html. - Original Message - From: "du Plessis, Corneil C" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 11:01 AM Subject: RE: unwanted emty lines in produced html > The biggest program is taglibs within logic:iterate if you try something > like: > > > instead of: > > > > > You will find you get a lot fewer blank lines. > > -Original Message- > From: Brian Lee [mailto:[EMAIL PROTECTED] > Sent: 12 March, 2003 17:41 > To: [EMAIL PROTECTED] > Subject: Re: unwanted emty lines in produced html > > > Hundreds of blank lines affect rendering speed of a browser and can affect > performance of heavily hit sites. Although each line is negligible with > thousands of users you end up paying for the extra bandwidth. > > Plus browsers still have some quirks with blank lines. I.e. it can make an > image look misaligned or cause a link's underline to extend beyong the text. > > BAL > > >From: "David Graham" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: unwanted emty lines in produced html > >Date: Wed, 12 Mar 2003 08:24:57 -0700 > > > >How are empty lines affecting the display of the html? AFAIK, browsers > >ignore blank lines. > > > >David > > > > > > > >>From: Igor Lyubimov <[EMAIL PROTECTED]> > >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >>To: [EMAIL PROTECTED] > >>Subject: unwanted emty lines in produced html > >>Date: Wed, 12 Mar 2003 16:17:07 +0100 > >> > >>Hallo! > >> > >>I use struts-tiles framework for my web application. > >> > >>When I look in produced html code, I see wery much empty lines. In this > >>case I become broken design. (Some divs have incorrect size, table cells > >>are broken etc.) > >> > >>As I understand this problem, this emty lines are produced by embedded > >>java statements and struts/tiles tags like: > >> > >><% ... %> > >><%@ ... %> > >>... > >> > >> > >>So, how can I control the output? I need to be able to use in my code > >>constructions (as stated above) and I do not like to have one emty line > >>per construction. I do not like to have very long lines in my code too. > >> > >>Have anybody solution for this problem? > >> > >>Thanks a lot, > >> > >>-- > >>_ > >> | | > >> | knipp | Knipp Medien und Kommunikation GmbH > >> --- Technologiepark > >> Martin-Schmeisser-Weg 9 > >> D-44227 Dortmund > >> Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 > >> [EMAIL PROTECTED] Fax: +49-231-9703-200 > >>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > >> > >> C e B I T 2003 Besuchen Sie uns > >> H a n n o v e r auf unserem Stand: > >> 12.3.-19.3.2003 Halle 6, C 52/560 > >> > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >_ > >Protect your PC - get McAfee.com VirusScan Online > >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > _ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __ > > Disclaimer and confidentiality note > > > Everything in this e-mail and any attachments relating to the official business of &
RE: unwanted emty lines in produced html
The biggest program is taglibs within logic:iterate if you try something like: instead of: You will find you get a lot fewer blank lines. -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED] Sent: 12 March, 2003 17:41 To: [EMAIL PROTECTED] Subject: Re: unwanted emty lines in produced html Hundreds of blank lines affect rendering speed of a browser and can affect performance of heavily hit sites. Although each line is negligible with thousands of users you end up paying for the extra bandwidth. Plus browsers still have some quirks with blank lines. I.e. it can make an image look misaligned or cause a link's underline to extend beyong the text. BAL >From: "David Graham" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: unwanted emty lines in produced html >Date: Wed, 12 Mar 2003 08:24:57 -0700 > >How are empty lines affecting the display of the html? AFAIK, browsers >ignore blank lines. > >David > > > >>From: Igor Lyubimov <[EMAIL PROTECTED]> >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: unwanted emty lines in produced html >>Date: Wed, 12 Mar 2003 16:17:07 +0100 >> >>Hallo! >> >>I use struts-tiles framework for my web application. >> >>When I look in produced html code, I see wery much empty lines. In this >>case I become broken design. (Some divs have incorrect size, table cells >>are broken etc.) >> >>As I understand this problem, this emty lines are produced by embedded >>java statements and struts/tiles tags like: >> >><% ... %> >><%@ ... %> >>... >> >> >>So, how can I control the output? I need to be able to use in my code >>constructions (as stated above) and I do not like to have one emty line >>per construction. I do not like to have very long lines in my code too. >> >>Have anybody solution for this problem? >> >>Thanks a lot, >> >>-- >>_ >> | | >> | knipp | Knipp Medien und Kommunikation GmbH >> --- Technologiepark >> Martin-Schmeisser-Weg 9 >> D-44227 Dortmund >> Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 >> [EMAIL PROTECTED] Fax: +49-231-9703-200 >>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >> >> C e B I T 2003 Besuchen Sie uns >> H a n n o v e r auf unserem Stand: >> 12.3.-19.3.2003 Halle 6, C 52/560 >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > > >_ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the company. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Standard Bank. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: unwanted emty lines in produced html
http://jakarta.apache.org/taglibs/doc/regexp-doc/intro.html -Original Message- From: Igor Lyubimov [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:59 AM To: Struts Users Mailing List Subject: Re: unwanted emty lines in produced html Witbeck, Shane wrote: > If you are really anal ;) about line breaks, etc. you could use the regular > expression tablib to get rid of them by wrapping each JSP. Im sure there is > a performance hit with this but it saves you from having to change every > line of source in the JSPs. What is 'regular expression tablib' where can I read about this? Thanks, -- _ | | | knipp | Knipp Medien und Kommunikation GmbH --- Technologiepark Martin-Schmeisser-Weg 9 D-44227 Dortmund Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 [EMAIL PROTECTED] Fax: +49-231-9703-200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C e B I T 2003 Besuchen Sie uns H a n n o v e r auf unserem Stand: 12.3.-19.3.2003 Halle 6, C 52/560 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted emty lines in produced html
Witbeck, Shane wrote: If you are really anal ;) about line breaks, etc. you could use the regular expression tablib to get rid of them by wrapping each JSP. Im sure there is a performance hit with this but it saves you from having to change every line of source in the JSPs. What is 'regular expression tablib' where can I read about this? Thanks, -- _ | | | knipp | Knipp Medien und Kommunikation GmbH --- Technologiepark Martin-Schmeisser-Weg 9 D-44227 Dortmund Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 [EMAIL PROTECTED] Fax: +49-231-9703-200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C e B I T 2003 Besuchen Sie uns H a n n o v e r auf unserem Stand: 12.3.-19.3.2003 Halle 6, C 52/560 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: unwanted emty lines in produced html
When you pay by the Gig and you just spent an extra couple grand because of the thousands of line breaks in your app it comes into effect. I'm waiting for the app servers to have a "suppress carriage return" setting or something like that. ColdFusion used to have something like this (didn't work very well). But a smart way to get rid of carriage returns would be to make sure your jsp is valid xhtml then run it through a formatter to remove carriage returns between tags as part of your build process. BAL From: "Witbeck, Shane" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 10:49:57 -0500 If you are really anal ;) about line breaks, etc. you could use the regular expression tablib to get rid of them by wrapping each JSP. Im sure there is a performance hit with this but it saves you from having to change every line of source in the JSPs. Shane -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:41 AM To: [EMAIL PROTECTED] Subject: Re: unwanted emty lines in produced html Hundreds of blank lines affect rendering speed of a browser and can affect performance of heavily hit sites. Although each line is negligible with thousands of users you end up paying for the extra bandwidth. Plus browsers still have some quirks with blank lines. I.e. it can make an image look misaligned or cause a link's underline to extend beyong the text. BAL >From: "David Graham" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: unwanted emty lines in produced html >Date: Wed, 12 Mar 2003 08:24:57 -0700 > >How are empty lines affecting the display of the html? AFAIK, browsers >ignore blank lines. > >David > > > >>From: Igor Lyubimov <[EMAIL PROTECTED]> >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: unwanted emty lines in produced html >>Date: Wed, 12 Mar 2003 16:17:07 +0100 >> >>Hallo! >> >>I use struts-tiles framework for my web application. >> >>When I look in produced html code, I see wery much empty lines. In this >>case I become broken design. (Some divs have incorrect size, table cells >>are broken etc.) >> >>As I understand this problem, this emty lines are produced by embedded >>java statements and struts/tiles tags like: >> >><% ... %> >><%@ ... %> >>... >> >> >>So, how can I control the output? I need to be able to use in my code >>constructions (as stated above) and I do not like to have one emty line >>per construction. I do not like to have very long lines in my code too. >> >>Have anybody solution for this problem? >> >>Thanks a lot, >> >>-- >>_ >> | | >> | knipp | Knipp Medien und Kommunikation GmbH >> --- Technologiepark >> Martin-Schmeisser-Weg 9 >> D-44227 Dortmund >> Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 >> [EMAIL PROTECTED] Fax: +49-231-9703-200 >>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >> >> C e B I T 2003 Besuchen Sie uns >> H a n n o v e r auf unserem Stand: >> 12.3.-19.3.2003 Halle 6, C 52/560 >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > > >_ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted emty lines in produced html
James Mitchell wrote: I guess you could also use a filter to catch and format/filter out unwanted characters. Which filter do you mean? (Excuse me, for this question, but I'm newbie whith this framework) Where can I find info about format/filter? Thanks, -- _ | | | knipp | Knipp Medien und Kommunikation GmbH --- Technologiepark Martin-Schmeisser-Weg 9 D-44227 Dortmund Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 [EMAIL PROTECTED] Fax: +49-231-9703-200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C e B I T 2003 Besuchen Sie uns H a n n o v e r auf unserem Stand: 12.3.-19.3.2003 Halle 6, C 52/560 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: unwanted emty lines in produced html
If you are really anal ;) about line breaks, etc. you could use the regular expression tablib to get rid of them by wrapping each JSP. Im sure there is a performance hit with this but it saves you from having to change every line of source in the JSPs. Shane -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:41 AM To: [EMAIL PROTECTED] Subject: Re: unwanted emty lines in produced html Hundreds of blank lines affect rendering speed of a browser and can affect performance of heavily hit sites. Although each line is negligible with thousands of users you end up paying for the extra bandwidth. Plus browsers still have some quirks with blank lines. I.e. it can make an image look misaligned or cause a link's underline to extend beyong the text. BAL >From: "David Graham" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: unwanted emty lines in produced html >Date: Wed, 12 Mar 2003 08:24:57 -0700 > >How are empty lines affecting the display of the html? AFAIK, browsers >ignore blank lines. > >David > > > >>From: Igor Lyubimov <[EMAIL PROTECTED]> >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: unwanted emty lines in produced html >>Date: Wed, 12 Mar 2003 16:17:07 +0100 >> >>Hallo! >> >>I use struts-tiles framework for my web application. >> >>When I look in produced html code, I see wery much empty lines. In this >>case I become broken design. (Some divs have incorrect size, table cells >>are broken etc.) >> >>As I understand this problem, this emty lines are produced by embedded >>java statements and struts/tiles tags like: >> >><% ... %> >><%@ ... %> >>... >> >> >>So, how can I control the output? I need to be able to use in my code >>constructions (as stated above) and I do not like to have one emty line >>per construction. I do not like to have very long lines in my code too. >> >>Have anybody solution for this problem? >> >>Thanks a lot, >> >>-- >>_ >> | | >> | knipp | Knipp Medien und Kommunikation GmbH >> --- Technologiepark >> Martin-Schmeisser-Weg 9 >> D-44227 Dortmund >> Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 >> [EMAIL PROTECTED] Fax: +49-231-9703-200 >>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >> >> C e B I T 2003 Besuchen Sie uns >> H a n n o v e r auf unserem Stand: >> 12.3.-19.3.2003 Halle 6, C 52/560 >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > > >_ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted emty lines in produced html
Unfortunately, I think this is a JSP compiler problem and not a Struts specific problem. David From: "Brian Lee" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 10:41:19 -0500 Hundreds of blank lines affect rendering speed of a browser and can affect performance of heavily hit sites. Although each line is negligible with thousands of users you end up paying for the extra bandwidth. Plus browsers still have some quirks with blank lines. I.e. it can make an image look misaligned or cause a link's underline to extend beyong the text. BAL From: "David Graham" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 08:24:57 -0700 How are empty lines affecting the display of the html? AFAIK, browsers ignore blank lines. David From: Igor Lyubimov <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 16:17:07 +0100 Hallo! I use struts-tiles framework for my web application. When I look in produced html code, I see wery much empty lines. In this case I become broken design. (Some divs have incorrect size, table cells are broken etc.) As I understand this problem, this emty lines are produced by embedded java statements and struts/tiles tags like: <% ... %> <%@ ... %> ... So, how can I control the output? I need to be able to use in my code constructions (as stated above) and I do not like to have one emty line per construction. I do not like to have very long lines in my code too. Have anybody solution for this problem? Thanks a lot, -- _ | | | knipp | Knipp Medien und Kommunikation GmbH --- Technologiepark Martin-Schmeisser-Weg 9 D-44227 Dortmund Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 [EMAIL PROTECTED] Fax: +49-231-9703-200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C e B I T 2003 Besuchen Sie uns H a n n o v e r auf unserem Stand: 12.3.-19.3.2003 Halle 6, C 52/560 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted emty lines in produced html
Hundreds of blank lines affect rendering speed of a browser and can affect performance of heavily hit sites. Although each line is negligible with thousands of users you end up paying for the extra bandwidth. Plus browsers still have some quirks with blank lines. I.e. it can make an image look misaligned or cause a link's underline to extend beyong the text. BAL From: "David Graham" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 08:24:57 -0700 How are empty lines affecting the display of the html? AFAIK, browsers ignore blank lines. David From: Igor Lyubimov <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 16:17:07 +0100 Hallo! I use struts-tiles framework for my web application. When I look in produced html code, I see wery much empty lines. In this case I become broken design. (Some divs have incorrect size, table cells are broken etc.) As I understand this problem, this emty lines are produced by embedded java statements and struts/tiles tags like: <% ... %> <%@ ... %> ... So, how can I control the output? I need to be able to use in my code constructions (as stated above) and I do not like to have one emty line per construction. I do not like to have very long lines in my code too. Have anybody solution for this problem? Thanks a lot, -- _ | | | knipp | Knipp Medien und Kommunikation GmbH --- Technologiepark Martin-Schmeisser-Weg 9 D-44227 Dortmund Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 [EMAIL PROTECTED] Fax: +49-231-9703-200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C e B I T 2003 Besuchen Sie uns H a n n o v e r auf unserem Stand: 12.3.-19.3.2003 Halle 6, C 52/560 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: unwanted emty lines in produced html
I have gotten around this by reworking my jsp tags and taglibs <% some script here %> (with that, there are 3 line breaks, more for iteration) Becomes <% some script here %> (this will only have 1 line break, at the end of the last tag) I guess you could also use a filter to catch and format/filter out unwanted characters. Good Luck!! -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/ > -Original Message- > From: Igor Lyubimov [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 10:17 AM > To: [EMAIL PROTECTED] > Subject: unwanted emty lines in produced html > > > Hallo! > > I use struts-tiles framework for my web application. > > When I look in produced html code, I see wery much empty > lines. In this > case I become broken design. (Some divs have incorrect size, > table cells > are broken etc.) > > As I understand this problem, this emty lines are produced by > embedded > java statements and struts/tiles tags like: > > <% ... %> > <%@ ... %> > ... > > > So, how can I control the output? I need to be able to use in my code > constructions (as stated above) and I do not like to have one > emty line > per construction. I do not like to have very long lines in my > code too. > > Have anybody solution for this problem? > > Thanks a lot, > > -- > _ > | | > | knipp | Knipp Medien und Kommunikation GmbH >--- Technologiepark > Martin-Schmeisser-Weg 9 > D-44227 Dortmund > Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 > [EMAIL PROTECTED] Fax: +49-231-9703-200 > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > >C e B I T 2003 Besuchen Sie uns >H a n n o v e r auf unserem Stand: >12.3.-19.3.2003 Halle 6, C 52/560 > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted emty lines in produced html
How are empty lines affecting the display of the html? AFAIK, browsers ignore blank lines. David From: Igor Lyubimov <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: unwanted emty lines in produced html Date: Wed, 12 Mar 2003 16:17:07 +0100 Hallo! I use struts-tiles framework for my web application. When I look in produced html code, I see wery much empty lines. In this case I become broken design. (Some divs have incorrect size, table cells are broken etc.) As I understand this problem, this emty lines are produced by embedded java statements and struts/tiles tags like: <% ... %> <%@ ... %> ... So, how can I control the output? I need to be able to use in my code constructions (as stated above) and I do not like to have one emty line per construction. I do not like to have very long lines in my code too. Have anybody solution for this problem? Thanks a lot, -- _ | | | knipp | Knipp Medien und Kommunikation GmbH --- Technologiepark Martin-Schmeisser-Weg 9 D-44227 Dortmund Dipl.-Mathematiker Igor Lyubimov Fon: +49-231-9703-0 [EMAIL PROTECTED] Fax: +49-231-9703-200 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C e B I T 2003 Besuchen Sie uns H a n n o v e r auf unserem Stand: 12.3.-19.3.2003 Halle 6, C 52/560 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]