<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to serve a transparent 1&#215;1 pixel GIF from a servlet</title>
	<atom:link href="http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html/feed" rel="self" type="application/rss+xml" />
	<link>http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html</link>
	<description>Tips and tricks and howtos galore</description>
	<lastBuildDate>Wed, 01 Feb 2012 18:49:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Viliam Holub</title>
		<link>http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html/comment-page-1#comment-2566</link>
		<dc:creator>Viliam Holub</dc:creator>
		<pubDate>Sun, 10 Jul 2011 20:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=711#comment-2566</guid>
		<description>Base64.decode method in not static and therefore cannot be used on class name.

Better is to use static Base64.decodeBase64 which works on String as well and makes it cleaner:
private static final byte[] PIXEL_BYTES = Base64.decodeBase64(PIXEL_B64);</description>
		<content:encoded><![CDATA[<p>Base64.decode method in not static and therefore cannot be used on class name.</p>
<p>Better is to use static Base64.decodeBase64 which works on String as well and makes it cleaner:<br />
private static final byte[] PIXEL_BYTES = Base64.decodeBase64(PIXEL_B64);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristian</title>
		<link>http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html/comment-page-1#comment-2469</link>
		<dc:creator>Kristian</dc:creator>
		<pubDate>Mon, 30 Aug 2010 21:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=711#comment-2469</guid>
		<description>Thanks man!  You just saved me hours of work.

I&#039;ll post how I did this in spring 3.0.  I think Apache has updated the Base64 library since you posted this too - I had to make a Base64 instance and it didn&#039;t let me call it statically.  No biggie though

Thanks a lot.

Kristian</description>
		<content:encoded><![CDATA[<p>Thanks man!  You just saved me hours of work.</p>
<p>I&#8217;ll post how I did this in spring 3.0.  I think Apache has updated the Base64 library since you posted this too &#8211; I had to make a Base64 instance and it didn&#8217;t let me call it statically.  No biggie though</p>
<p>Thanks a lot.</p>
<p>Kristian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew</title>
		<link>http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html/comment-page-1#comment-2208</link>
		<dc:creator>matthew</dc:creator>
		<pubDate>Fri, 22 Jan 2010 20:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=711#comment-2208</guid>
		<description>Dang, I mucked up the variable name. It&#039;s fixed now. Thanks.</description>
		<content:encoded><![CDATA[<p>Dang, I mucked up the variable name. It&#8217;s fixed now. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wesley</title>
		<link>http://matthew.mceachen.us/blog/how-to-serve-a-transparent-1x1-pixel-gif-from-a-servlet-711.html/comment-page-1#comment-2207</link>
		<dc:creator>Wesley</dc:creator>
		<pubDate>Fri, 22 Jan 2010 20:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://matthew.mceachen.us/blog/?p=711#comment-2207</guid>
		<description>Matthew, This is exactly what I&#039;ve been looking for. I tried the code above, but cannot resolve pixelAsBase64. Where is this defined?</description>
		<content:encoded><![CDATA[<p>Matthew, This is exactly what I&#8217;ve been looking for. I tried the code above, but cannot resolve pixelAsBase64. Where is this defined?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

