<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>O Blog do Gustavo Felisberto</title>
	
	<link>http://blog.felisberto.net</link>
	<description>Life, the universe and all the rest</description>
	<pubDate>Sun, 16 Nov 2008 02:47:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/OBlogDoGustavoFelisberto" type="application/rss+xml" /><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FOBlogDoGustavoFelisberto" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FOBlogDoGustavoFelisberto" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FOBlogDoGustavoFelisberto" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.rojo.com/add-subscription?resource=http%3A%2F%2Ffeeds.feedburner.com%2FOBlogDoGustavoFelisberto" src="http://blog.rojo.com/RojoWideRed.gif">Subscribe with Rojo</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/OBlogDoGustavoFelisberto" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FOBlogDoGustavoFelisberto" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FOBlogDoGustavoFelisberto" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FOBlogDoGustavoFelisberto" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item>
		<title>New Home</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/454504056/</link>
		<comments>http://blog.felisberto.net/2008/11/16/new-home/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 02:47:01 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Gentoo-dev]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1452</guid>
		<description><![CDATA[After many years running on my home server this blog is now hosted at lylix. I went to them because it was the only Gentoo/Funtoo VPS provider I could find:)
If something does not work, please drop me a note 
]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">A</span>fter many years running on my home server this blog is now hosted at <a href="http://lylix.net">lylix</a>. I went to them because it was the only Gentoo/Funtoo VPS provider I could find:)</p>
<p>If something does not work, please drop me a note <img src='http://blog.felisberto.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/454504056" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/11/16/new-home/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/11/16/new-home/</feedburner:origLink></item>
		<item>
		<title>Book Meme</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/450887337/</link>
		<comments>http://blog.felisberto.net/2008/11/12/book-meme/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:17:00 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Geral]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1446</guid>
		<description><![CDATA[Book Meme Floating around, so mine is:
Save the file and reboot the system for the settings to take effect.
in Asterisk, The Future of Telephony
The Rules for this meme are:

Grab the nearest book.
Open it to page 56.
Find the fifth sentence.
Post the text of the sentence in your journal along with these instructions.

Don’t dig for your favorite [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">B</span>ook Meme Floating around, so mine is:</p>
<blockquote><p>Save the file and reboot the system for the settings to take effect.</p></blockquote>
<p><em>in</em> Asterisk, The Future of Telephony</p>
<p>The Rules for this meme are:</p>
<ul>
<li>Grab the nearest book.</li>
<li>Open it to page 56.</li>
<li>Find the fifth sentence.</li>
<li>Post the text of the sentence in your journal along with these instructions.</li>
<li>
Don’t dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.</li>
</ul>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/450887337" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/11/12/book-meme/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/11/12/book-meme/</feedburner:origLink></item>
		<item>
		<title>All your video are belong to us.</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/434884902/</link>
		<comments>http://blog.felisberto.net/2008/10/28/all-your-video-are-belong-to-us/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 16:42:52 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Geral]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1433</guid>
		<description><![CDATA[MTV now has available (and embeddable) all the videos they ever played&#8230;.

Queens of the Stone Age &#124;MTV Music
]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">M</span>TV now has available (and embeddable) all the videos they ever played&#8230;.</p>
<p><embed src="http://media.mtvnservices.com/mgid:uma:video:mtvmusic.com:64619" width="640" height="542"  type="application/x-shockwave-flash" flashVars="dist=http://www.mtvmusic.com" allowFullScreen="true" AllowScriptAccess="never"></embed>
<div style="margin:0; text-align:center; width:320px;font-family:Arial,sans-serif;font-size:10px;"><a style="color:#000000;" href="http://www.mtv.com/music/artist/queens_stone_age/artist.jhtml">Queens of the Stone Age</a> |<a style="color:#000000;" href="http://www.mtvmusic.com/">MTV Music</a></div>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/434884902" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/10/28/all-your-video-are-belong-to-us/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/10/28/all-your-video-are-belong-to-us/</feedburner:origLink></item>
		<item>
		<title>20 weeks, It’s a Girl</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/433714650/</link>
		<comments>http://blog.felisberto.net/2008/10/27/20-weeks-its-a-girl/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 15:58:41 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Geral]]></category>

		<category><![CDATA[daughter]]></category>

		<category><![CDATA[family]]></category>

		<category><![CDATA[Laura]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1430</guid>
		<description><![CDATA[
20 Weeks and we now know that were having a girl. We&#8217;ll name her Laura, and as you can see from the picture she has a beautiful nose&#8230;
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.felisberto.net/wp-content/uploads/2008/10/eco_20semanas_menina.jpg"><img src="http://blog.felisberto.net/wp-content/uploads/2008/10/eco_20semanas_menina-224x300.jpg" alt="" title="eco_20semanas_menina" width="224" height="300" class="aligncenter size-medium wp-image-1429" /></a></p>
<p>20 Weeks and we now know that were having a girl. We&#8217;ll name her Laura, and as you can see from the picture she has a beautiful nose&#8230;</p>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/433714650" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/10/27/20-weeks-its-a-girl/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/10/27/20-weeks-its-a-girl/</feedburner:origLink></item>
		<item>
		<title>A Wiki for Gentoo</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/427943482/</link>
		<comments>http://blog.felisberto.net/2008/10/21/a-wiki-for-gentoo/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 22:40:57 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Ciência/Tecnologia]]></category>

		<category><![CDATA[Gentoo-dev]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1427</guid>
		<description><![CDATA[A long long time ago I voiced about the need for a wiki in the Gentoo project. In those days Gentoo-Wiki was starting up.
For some reason or other people inside the project felt that having the users producing documentation was a bad idea. For some other reasons that I never understood the gentoo-wiki.com becamed a [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">A</span> long long time ago I voiced about the need for a wiki in the Gentoo project. In those days Gentoo-Wiki was starting up.<br />
For some reason or other people inside the project felt that having the users producing documentation was a bad idea. For some other reasons that I never understood the gentoo-wiki.com becamed a banned issue, and Gentoo developers were advised not to mention, and not to link to him. I wrote an extensive article about Gentoo on the <a href="http://www.genesi-usa.com/efika.php">Efika board</a> that got some raised eyebrows because it was written on the Wiki.</p>
<p>Now <a href="http://gentoo-wiki.com/">Gentoo Wiki</a> has been down for a few days. And according to the backup page it does not seem a fix is going to happen soon.</p>
<p>If we had taken this project under an umbrella a long time ago our users would not be missing on this very important resource.</p>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/427943482" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/10/21/a-wiki-for-gentoo/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/10/21/a-wiki-for-gentoo/</feedburner:origLink></item>
		<item>
		<title>The powerfull new VT100</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/422504254/</link>
		<comments>http://blog.felisberto.net/2008/10/16/the-powerfull-new-vt100/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 10:09:18 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Arte]]></category>

		<category><![CDATA[Ciência/Tecnologia]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Geral]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1421</guid>
		<description><![CDATA[My friend L0rd Saur0n made this nice retro chick image. I found it so hilarious that I just had to share.
]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">M</span>y friend <a href="http://l0rd-saur0n.deviantart.com/">L0rd Saur0n</a> made this nice retro chick image. I found it so hilarious that I just had to share.</p>
<div id="attachment_1422" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.felisberto.net/wp-content/uploads/2008/10/retro.jpg"><img src="http://blog.felisberto.net/wp-content/uploads/2008/10/retro-300x214.jpg" alt="VT100" title="VT100" width="300" height="214" class="size-medium wp-image-1422" /></a><p class="wp-caption-text">VT100 in Bright Green</p></div>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/422504254" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/10/16/the-powerfull-new-vt100/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/10/16/the-powerfull-new-vt100/</feedburner:origLink></item>
		<item>
		<title>Struts2 ActionMessages and redirect</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/421691341/</link>
		<comments>http://blog.felisberto.net/2008/10/15/struts2-actionmessages-and-redirect/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 15:40:45 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Ciência/Tecnologia]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[interceptor]]></category>

		<category><![CDATA[redirect]]></category>

		<category><![CDATA[struts2]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1417</guid>
		<description><![CDATA[Lets say you have an Action that lists some items. And you have another action that adds items.
If you add an Item you can either just show a &#8220;blank&#8221; with the &#8220;All ok with addition&#8221; or even smarter is to use the ListAction. But how do you give feedback to the user that the addition [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">L</span>ets say you have an Action that lists some items. And you have another action that adds items.</p>
<p>If you add an Item you can either just show a &#8220;blank&#8221; with the &#8220;All ok with addition&#8221; or even smarter is to use the <em><result type="redirectAction">ListAction</result></em>. But how do you give feedback to the user that the addition was ok? Simple you just <em>addActionMessage(&#8221;Item added ok&#8221;);</em> on the first action and the message will be rendered by the <em>s:actionmessage</em> in the jsp of the second. Right? Wrong!!<br />
Struts will &#8220;eat&#8221; ActionMessages and ActionErrors between the first and second action. But Glindholm <a href="http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/">solved the problem</a> with a simple Interceptor.</p>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/421691341" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/10/15/struts2-actionmessages-and-redirect/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/10/15/struts2-actionmessages-and-redirect/</feedburner:origLink></item>
		<item>
		<title>Struts 2 under IntelliJ IDEA 8.0M1</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/410259454/</link>
		<comments>http://blog.felisberto.net/2008/10/03/struts-2-under-intellij-idea-80m1/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 13:42:56 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Ciência/Tecnologia]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Gentoo-dev]]></category>

		<category><![CDATA[Geral]]></category>

		<category><![CDATA[intellij idea]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[struts 2]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1402</guid>
		<description><![CDATA[If you like IDEA and use Struts 2 you can be happy to know that 8.0 release comes with a new Struts 2 plugin. There is a small tutorial on how to use it but it has some errors.
First the Action class should extend ActionSupport hand have proper setter methods:

package hello;
import com.opensymphony.xwork2.ActionSupport;
public class HelloWorld extends [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">I</span>f you like IDEA and use Struts 2 you can be happy to know that 8.0 release comes with a new Struts 2 <a href="http://www.jetbrains.net/confluence/display/CONTEST/Struts2Plugin">plugin</a>. There is a <a href="http://beans.seartipy.com/2008/08/20/%E2%80%9Chello-world%E2%80%9D-web-application-using-struts-2-in-intellij-idea-80-m1/">small tutorial</a> on how to use it but it has some errors.<br />
First the Action class should extend ActionSupport hand have proper setter methods:</p>

<div class="wp_syntax"><div class="code"><pre class="java java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">hello</span>;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">com.opensymphony.xwork2.ActionSupport</span>;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> HelloWorld <span style="color: #000000; font-weight: bold;">extends</span> ActionSupport <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #003399;">String</span> username;
    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #003399;">String</span> message;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> getMessage<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">return</span> message;
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> execute<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        message <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Hello, &quot;</span> <span style="color: #339933;">+</span> username <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;.&quot;</span>;
        <span style="color: #000000; font-weight: bold;">return</span> SUCCESS;
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> getUsername<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">return</span> username;
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> setUsername<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> username<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">username</span> <span style="color: #339933;">=</span> username;
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Second the JSP file can have a proper action:</p>

<div class="wp_syntax"><div class="code"><pre class="xml xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span> %@ page <span style="color: #000066;">contentType</span>=<span style="color: #ff0000;">&quot;text/html;charset=UTF-8&quot;</span> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">&quot;java&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span> %@ taglib <span style="color: #000066;">prefix</span>=<span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #000066;">uri</span>=<span style="color: #ff0000;">&quot;/struts-tags&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Simple jsp page<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/title<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		Struts 2 Message: <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s</span> :property <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">default</span>=<span style="color: #ff0000;">&quot;Guest.&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s</span> :form <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;GET&quot;</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;HelloWorld&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			Enter your name:<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s</span> :textfield <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;username&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s</span> :submit <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Submit&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/s<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>And finally struts.xml can have the Action declared without the ugly unRESTFUL .action:</p>

<div class="wp_syntax"><div class="code"><pre class="xml xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span> ?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span> !DOCTYPE struts PUBLIC</span>
<span style="color: #009900;">  <span style="color: #ff0000;">&quot;-//Apache Software Foundation//DTD Struts Configuration 2.0//EN&quot;</span></span>
<span style="color: #009900;">  <span style="color: #ff0000;">&quot;http://struts.apache.org/dtds/struts-2.0.dtd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struts<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;package</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;/&quot;</span> <span style="color: #000066;">extends</span>=<span style="color: #ff0000;">&quot;struts-default&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;action</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;HelloWorld&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;hello.HelloWorld&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;result</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;success&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>/index.jsp<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/result<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/action<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/package<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struts<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>I really like IDEA when it comes to Java codding, and I can live with the quirks of the Struts 2 support. But one thing that makes me steam is the fact that I have to un-deploy and deploy the application for each change I make. That steals me hours every week.</p>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/410259454" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/10/03/struts-2-under-intellij-idea-80m1/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/10/03/struts-2-under-intellij-idea-80m1/</feedburner:origLink></item>
		<item>
		<title>Testing the iPhone</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/382303303/</link>
		<comments>http://blog.felisberto.net/2008/09/03/testing-the-iphone/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 13:01:56 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Geral]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/2008/09/03/testing-the-iphone/</guid>
		<description><![CDATA[I have not fallen and bought an iphone. Just testing one and a Rss reader and blog posting tool.
]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">I</span> have not fallen and bought an iphone. Just testing one and a Rss reader and blog posting tool.</p>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/382303303" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/09/03/testing-the-iphone/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/09/03/testing-the-iphone/</feedburner:origLink></item>
		<item>
		<title>Eleven Weeks</title>
		<link>http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~3/373021130/</link>
		<comments>http://blog.felisberto.net/2008/08/23/eleven_weeks/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 22:56:40 +0000</pubDate>
		<dc:creator>Gustavo Felisberto</dc:creator>
		
		<category><![CDATA[Geral]]></category>

		<category><![CDATA[family]]></category>

		<category><![CDATA[son]]></category>

		<guid isPermaLink="false">http://blog.felisberto.net/?p=1387</guid>
		<description><![CDATA[There is a magic that is not possible to describe.

]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">T</span>here is a magic that is not possible to describe.<br />
<a href="http://blog.felisberto.net/wp-content/uploads/2008/08/eco_11semanas_2.jpg"><img src="http://blog.felisberto.net/wp-content/uploads/2008/08/eco_11semanas_2-300x225.jpg" alt="" title="eco_11semanas_2" width="300" height="225" class="aligncenter size-medium wp-image-1389" /></a></p>
<img src="http://feeds.feedburner.com/~r/OBlogDoGustavoFelisberto/~4/373021130" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.felisberto.net/2008/08/23/eleven_weeks/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.felisberto.net/2008/08/23/eleven_weeks/</feedburner:origLink></item>
	</channel>
</rss>
