<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Head in the Web &#187; JSP</title>
	<atom:link href="http://techblog.fywservices.com/tag/jsp/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.fywservices.com</link>
	<description>Building a better user experience one technology at a time</description>
	<lastBuildDate>Thu, 22 Jul 2010 10:13:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Good Thread on White Space in JSPs</title>
		<link>http://techblog.fywservices.com/2009/06/good-thread-on-white-space-in-jsps/</link>
		<comments>http://techblog.fywservices.com/2009/06/good-thread-on-white-space-in-jsps/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 20:12:30 +0000</pubDate>
		<dc:creator>Scott Nelson</dc:creator>
				<category><![CDATA[J2EE]]></category>
		<category><![CDATA[file size]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JSP]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[White Space]]></category>

		<guid isPermaLink="false">http://techblog.fywservices.com/?p=177</guid>
		<description><![CDATA[While it is tempting to quickly skim an blog entry for the information I&#8217;m seeking at the time, a recent find on dealing with white space with JSPs reminded me that there is a darn good reason most blogs have a comment feature. The thread I&#8217;m talking about is Trim Spaces in Your JSP at [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1fdcc5aa84fd409b74de32bfd26699ba&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=40 height=40/><p>While it is tempting to quickly skim an blog entry for the information I&#8217;m seeking at the time, a recent find on dealing with white space with JSPs reminded me that there is a darn good reason most blogs have a comment feature.</p>
<p>The thread I&#8217;m talking about is <a href="http://raibledesigns.com/rd/entry/trim_spaces_in_your_jsp" target="_blank">Trim Spaces in Your JSP at Raible Designs</a>. Fortunately, my paranoia paid off, and I did not try this setting blindly on the project where I was looking for such an answer (and have since rolled off). I almost did, but decided not to because I knew I would not be around to support the change, and that whoever I told about it may forget it. As it is a performance enhancement and the application had some peformance issues (too many cooks in the presentation layer kitchen IMHO), it was not as easy of a call as it may seem.</p>
<p>The con that comes up in the comments on that post is that it wipes <em>all </em>white space between tags. If I were the only person developing on the project, or if was a small team where I knew for certain that only experience JSP developers were working on the JSPs, I&#8217;d still feel safe. This is because if a space has to be in a page between two dynamic parameters, the experienced JSP developer will use an entity code rather than just a blank space.</p>
<p>There is also a comment in the thread about how to cut down white space in a build file. That was actually the type of solution I was seeking at the time (and missed at the time).  I would have to experiment with the solution before I suggested it, but it looks like what I wanted.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.fywservices.com/2009/06/good-thread-on-white-space-in-jsps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
