<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>peekay &#187; java</title>
	<atom:link href="http://peekay.org/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://peekay.org</link>
	<description>random stuff about software, infrastructure, security, etc</description>
	<lastBuildDate>Wed, 11 Jan 2012 00:07:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='peekay.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>peekay &#187; java</title>
		<link>http://peekay.org</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://peekay.org/osd.xml" title="peekay" />
	<atom:link rel='hub' href='http://peekay.org/?pushpress=hub'/>
		<item>
		<title>Struts2 external redirect</title>
		<link>http://peekay.org/2008/09/03/struts2-external-redirect/</link>
		<comments>http://peekay.org/2008/09/03/struts2-external-redirect/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 13:05:56 +0000</pubDate>
		<dc:creator>Ade Barkah</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[struts2]]></category>

		<guid isPermaLink="false">http://peekay.wordpress.com/?p=9</guid>
		<description><![CDATA[For one of my S2 apps I needed to redirect to an external site. If you Google on how to do this, you&#8217;ll see examples in the form of: &#60;result name=&#8221;foo&#8221; type=&#8221;redirect&#8221;&#62;${externalUrl}&#60;/result&#62; which doesn&#8217;t actually work, at least not in 2.0.11.2. Instead, I&#8217;m using the httpheader result type to do a 301 redirect: &#60;result name=&#8221;foo&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peekay.org&amp;blog=4701354&amp;post=9&amp;subd=peekay&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For one of my S2 apps I needed to redirect to an external site.  If you Google on how to do this, you&#8217;ll see examples in the form of:</p>
<p style="padding-left:30px;">&lt;result name=&#8221;foo&#8221; type=&#8221;redirect&#8221;&gt;${externalUrl}&lt;/result&gt;</p>
<p>which doesn&#8217;t actually work, at least not in 2.0.11.2.  Instead, I&#8217;m using the <em>httpheader</em> result type to do a 301 redirect:</p>
<p style="padding-left:30px;">&lt;result name=&#8221;foo&#8221; type=&#8221;httpheader&#8221;&gt;<br />
&lt;param name=&#8221;status&#8221;&gt;301&lt;/param&gt;<br />
&lt;param name=&#8221;headers.Location&#8221;&gt;${externalUrl}&lt;/param&gt;<br />
&lt;/result&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/peekay.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/peekay.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/peekay.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/peekay.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/peekay.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/peekay.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/peekay.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/peekay.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/peekay.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/peekay.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/peekay.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/peekay.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/peekay.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/peekay.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/peekay.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/peekay.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peekay.org&amp;blog=4701354&amp;post=9&amp;subd=peekay&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peekay.org/2008/09/03/struts2-external-redirect/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0846f908258a0d05752ee89a61da5d4f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">peekay</media:title>
		</media:content>
	</item>
	</channel>
</rss>
