<?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>Jakob Vad Nielsen</title>
	<atom:link href="http://www.jakobnielsen.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.jakobnielsen.net</link>
	<description>Emptying my head...</description>
	<lastBuildDate>Tue, 11 May 2010 18:40:06 +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>Introducing Adam-A. My latest project</title>
		<link>http://www.jakobnielsen.net/?p=109</link>
		<comments>http://www.jakobnielsen.net/?p=109#comments</comments>
		<pubDate>Tue, 11 May 2010 18:40:06 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=109</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/sxyrPtzP6Q8&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/sxyrPtzP6Q8&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=109</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why haven&#8217;t we got a html page bundle format ?</title>
		<link>http://www.jakobnielsen.net/?p=104</link>
		<comments>http://www.jakobnielsen.net/?p=104#comments</comments>
		<pubDate>Tue, 11 May 2010 18:34:32 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=104</guid>
		<description><![CDATA[It suddenly struck me as odd that we haven&#8217;t got a html page bundle format ages ago. So what do I mean by that? Well, I was creating this documentation in a text based format (APT). And I was supposed to send this documentation to an outsider of the company. The only way I could [...]]]></description>
			<content:encoded><![CDATA[<p>It suddenly struck me as odd that we haven&#8217;t got a html page bundle format ages ago. So what do I mean by that? Well, I was creating this documentation in a text based format (APT). And I was supposed to send this documentation to an outsider of the company. The only way I could send him the documentation, and still preserving the formatting,  was by creating a PDF.<br />
But it turned out that this documentation really didn&#8217;t fit into the paper format. Tables were cut, images to large, and so on. And what I really wanted was to let the customer read it, not concerning about wether he was going to print it or not. I should also say that the system I used didn&#8217;t allow me to adjust the paper format of the PDF.</p>
<p>So I started to think about alternatives. I could zip down the html, css and images. But then the customer would have to unzip it before reading it. And a lot of people wouldn&#8217;t understand how to do that. Then I could convert it into a document format not having limitations on the page format. But again the software I used didn&#8217;t support anything else but exporting to html and pdf.</p>
<p>What would have really helped me out was if we&#8217;ve had a unified way to bundle one or many html files (including resource files like images/css/js/movies) into one compressed file with a predetermined file extension. This would be pretty much the same thing as OpenOffice have done with their document files for years (It&#8217;s really just a zip-file). This way my customers email client would know how to handle the file by unpacking it and opening it in the default browser.</p>
<p>This could be really easy to implement:</p>
<p>1) Define an internal structure for the compressed bundle<br />
2) Consider if it would need a meta file defining what to be found inside the bundle.<br />
3) Find a file extension for this bundle format (eg: bwp)<br />
4) Decide what compression format to be used.</p>
<p>And then the hard part:</p>
<p>Getting the different mail clients / browsers / operating systems to implement support for the format. *Gah!*</p>
<p>Please let me know it such a thing already exists, or if there have been any attempt to standardize on a solution concerning this. </p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=104</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ok, I&#8217;ve got it Twitter</title>
		<link>http://www.jakobnielsen.net/?p=102</link>
		<comments>http://www.jakobnielsen.net/?p=102#comments</comments>
		<pubDate>Thu, 21 Jan 2010 07:52:39 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[twitter facebook]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=102</guid>
		<description><![CDATA[At least I have the balls to admit that I was wrong about Twitter (http://www.jakobnielsen.net/?p=25). But I still stick to a lot of what I said in the post referred. I still think that some people are spamming their Twitter account a lot. But I have found the &#8220;unfollow&#8221; button. So now I follow people [...]]]></description>
			<content:encoded><![CDATA[<p>At least I have the balls to admit that I was wrong about Twitter (http://www.jakobnielsen.net/?p=25). But I still stick to a lot of what I said in the post referred.  </p>
<p>I still think that some people are spamming their Twitter account a lot. But I have found the &#8220;unfollow&#8221; button. So now I follow people that tend to tweed funny stuff or things that I am interested in.</p>
<p>I still dislike the reply system. It is extremely hard to understand that people are finding this useful. I also stick to everything I said about tiny urls. They waste my time. </p>
<p>I have found software that makes it easier to follow communication on all the different services like Twitter, Facebook, MySpace, ++. So it really doesn&#8217;t bother me being on yet another channel anymore.</p>
<p>So my new view on Twitter is: It is a nice little tool keeping me updated on things that interests me at work. But it has really no value for my private life. There Facebook is the right tool. </p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=102</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where JSTL comes to short (Part 1 : I speak to you in klingon)</title>
		<link>http://www.jakobnielsen.net/?p=49</link>
		<comments>http://www.jakobnielsen.net/?p=49#comments</comments>
		<pubDate>Fri, 03 Jul 2009 08:35:50 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[jstl]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=49</guid>
		<description><![CDATA[JSTL (JavaServer Pages Standard Tag Library / JSR-52) has been around for quite some time now. It was certainly a breath of fresh air when it was introduced as an alternative to inline java in JSP files. Unfortunately I still find it lacking. I will try to describe these problems as best I can in [...]]]></description>
			<content:encoded><![CDATA[<p><em><br />
<a href="http://java.sun.com/products/jsp/jstl/">JSTL (JavaServer Pages Standard Tag Library / JSR-52)</a> has been around for quite some time now. It was certainly a breath of fresh air when it was introduced as an alternative to inline java in JSP files. Unfortunately I still find it lacking. I will try to describe these problems as best I can in a number of posts here on my blog. Please comment if you think I have misunderstood some of the concepts along the way.<br />
</em></p>
<p><span id="more-49"></span></p>
<h3>I speak to you in klingon</h3>
<p><strong>Encoding URL&#8217;s in JSTL will give you problems</strong>. It turns out that the specification has a weird idea of automatic URL encoding. How they came up with this idea beats me. Or what really beats me is that they haven&#8217;t made it possible to manually override the encoding scheme to be used. </p>
<p>When encoding a URL you must know what charset a character within the URL should be encoded to. And that has to be a charset that the server which the URL leads to understands. So if you for example have encoded an URL with Klingon and the receiver decodes it as Esperanto, it will fail. JSTL will automatically encode any URL with the encoding scheme that your site is using (Actually the encoding scheme is taken from the Response object). But this is really useless if you are creating an URL to an external server that requires another encoding scheme than the one your site is using.</p>
<p><b>Example 1</b></p>
<p>Let&#8217;s say that my site is using <a href="http://en.wikipedia.org/wiki/ISO-8859-1">ISO-8859-1</a>. That includes source files and all content returned to the end user. Now I want to add a link to Twitter on all my articles. This link should automatically post a new <i>tweed</i>. And since I&#8217;m living in Norway I would like the text to be something like &#8220;N&aring; leser jeg : http://www.jakobnielsen.net/?p=1&#8243;</p>
<p>So I add this to my JSP file:</p>
<pre class="brush: xml;">
&lt;c:url var=&quot;shareUrlTwitter&quot; value=&quot;http://twitter.com/home&quot;&gt;
    &lt;c:param name=&quot;status&quot; value=&quot;Nå leser jeg: ${siteUrl}&quot; /&gt;
&lt;/c:url&gt;

&lt;a href=&quot;${shareUrlTwitter}&quot;&gt;Tweed me!&lt;/a&gt;
</pre>
<p>Where ${siteUrl} is a variable containing the URL to page we are at.</p>
<p>So I deploy the changes to my server and expects everything to work as planned. But clicking on the link immediately gives me a problem. The norwegian letter <i>&aring;</i> is replaced with a strange character. Why is that? Well, as we could have expected, Twitter is not fond of ISO-8859-1 encoded URLs. It really prefers UTF-8. </p>
<div id="attachment_69" class="wp-caption alignnone" style="width: 443px"><img src="http://www.jakobnielsen.net/wordpress/wp-content/uploads/2009/07/Picture-17.png" alt="Something is wrong" title="Wrong charset" width="433" height="192" class="size-full wp-image-69" /><p class="wp-caption-text">Something is wrong</p></div>
<p>So we&#8217;ve ended up with a URL looking like this:</p>
<p><code>http://twitter.com/home?status=N%E5+leser+jeg%3A+http%3A%2F%2Fwww.jakobnielsen.net%2F%3Fp%3D1</code></p>
<p>which is encoded with ISO-8859-1. What we really needed was a UTF-8 encoded URL like this:</p>
<p><code>http://twitter.com/home?status=N%C3%A5+leser+jeg%3A+http%3A%2F%2Fwww.jakobnielsen.net%2F%3Fp%3D</code></p>
<p>Ok, then we just need to tell the c:param tag or the c:url tag what encoding scheme to use when encoding the parameters right? Sorry dude! <strong>You cannot specify encoding for URLs in JSTL!</strong></p>
<h3>Conclusion</h3>
<p>The JSTL specification states that all names and values in a &lt;c :param&gt; tag should automatically be encoded. </p>
<blockquote><p>&#8230;It is indeed redundant, but is consistent with&lt;jsp :include&gt;, which supports nested &lt;jsp :param&gt;sub-elements. Moreover, it has been designed such that the attributes<br />
name and value are automatically URLencoded.</p></blockquote>
<p>It doesn&#8217;t say anything about what encoding to be used. The Jakarta taglibs project has solved this by picking the encoding from the Response object. For internal linking this works. But when creating external URLs this strategy must fail when creating a link to a server using another charset. </p>
<p>So, in these cases you have to come up with your own tags to solve the encoding problem. </p>
<h3>How this problem could be solved</h3>
<p>What is missing is an <i>encoding</i> attribute in the c:url tag, where you could specify what encoding scheme to be used. </p>
<pre class="brush: xml;">
&lt;c :url var=&quot;shareUrlTwitter&quot; value=&quot;http://twitter.com/home&quot; encoding=&quot;utf-8&quot;&gt;
    &lt;c :param name=&quot;status&quot; value=&quot;Nå leser jeg: ${siteUrl}&quot; /&gt;
&lt;/c&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=49</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bye Twitter!</title>
		<link>http://www.jakobnielsen.net/?p=25</link>
		<comments>http://www.jakobnielsen.net/?p=25#comments</comments>
		<pubDate>Mon, 23 Feb 2009 11:08:26 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=25</guid>
		<description><![CDATA[During the last week I have really tried to get the grip on Twitter. But no matter how hard I&#8217;ve tried, I just don&#8217;t get it. Maybe I&#8217;m to old. Anyway here is my 8 reasons to remove my account. 1. I&#8217;m not interested what music people are listening to, what parties they are on, [...]]]></description>
			<content:encoded><![CDATA[<p>During the last week I have really tried to get the grip on Twitter. But no matter how hard I&#8217;ve tried, I just don&#8217;t get it. Maybe I&#8217;m to old. </p>
<p>Anyway here is my 8 reasons to remove my account.</p>
<p><span id="more-25"></span></p>
<p>1. I&#8217;m not interested what music people are listening to, what parties they are on, +++. </p>
<p>2. Replies on twitter sucks! Bigtime! They do not point to the actual post, only to the person who wrote it. Hence there is no point in trying to follow a conversation.</p>
<p>3. Given the limitation of 140 characters per posting, people tend to use services like tinyurl.com to shorten url&#8217;s. This really sucks as well. Cause I have no chance to see if this is pointing to an url I already have seen or not. It wastes my time.</p>
<p>4. People tend to post the same links. In the previous #IE6 campaign on Twitter my estimate is that more than 60% of the messages was duplicates.</p>
<p>5. I already have more than 8 ways to communicate on the Internet. I really don&#8217;t need another.</p>
<p>6. Some people I&#8217;m following on Twitter seems to be &#8220;twitterholics&#8221;. They just have to post something every hour. Even though they really doesn&#8217;t have something to say. </p>
<p>7. There are a mix between companies and people in twitter. I really do not like that companies can use this arena as a free commercial channel.</p>
<p>8. Twitter only makes some sort of sense with a client like Twitterific. I find it really disturbing. And it takes my mind away from things I am supposed to do at work.</p>
<p>So my conclusion is that Twitter probably suits people without a life that desperately tries to find out what all the other folks are doing.</p>
<p>But maybe I am wrong, and that I one day will return with an open mind. Until then&#8230;..</p>
<p>&#8230;bye Twitter!</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/PN2HAroA12w&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PN2HAroA12w&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=25</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>TimeSaver</title>
		<link>http://www.jakobnielsen.net/?p=21</link>
		<comments>http://www.jakobnielsen.net/?p=21#comments</comments>
		<pubDate>Thu, 19 Jun 2008 13:37:53 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=21</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jakobnielsen.net/etc/images/cool-cartoon-291732.png"><img src="http://www.jakobnielsen.net/etc/images/cool-cartoon-291732.png" width="500" alt="TimeSaver"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=21</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frozen Oslo S</title>
		<link>http://www.jakobnielsen.net/?p=20</link>
		<comments>http://www.jakobnielsen.net/?p=20#comments</comments>
		<pubDate>Thu, 29 May 2008 13:15:40 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=20</guid>
		<description><![CDATA[Me was there!]]></description>
			<content:encoded><![CDATA[<p>Me was there!</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/BTBTaL7kUHc&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/BTBTaL7kUHc&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Write gif-files with &#8220;standard java&#8221; in java 5</title>
		<link>http://www.jakobnielsen.net/?p=19</link>
		<comments>http://www.jakobnielsen.net/?p=19#comments</comments>
		<pubDate>Sun, 25 May 2008 19:11:14 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[gif]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=19</guid>
		<description><![CDATA[Java 5 supports reading GIF files. Java 6 also supports writing GIF files. I needed a nice way to write gif images from Java 5. A lot of GIF packages exists for Java 5. But most of them does not give the same nice result as the implementation by Sun. Since I couldn&#8217;t upgrade to [...]]]></description>
			<content:encoded><![CDATA[<p>Java 5 supports reading GIF files. Java 6 also supports writing GIF files. I needed a nice way to write gif images from Java 5. A lot of GIF packages exists for Java 5. But most of them does not give the same nice result as the implementation by Sun. Since I couldn&#8217;t upgrade to Java 6 in my project, I backported parts of the javax.imageio package from openjdk-6-src-b09-11_apr_2008 (Can be downloaded from http://openjdk.java.net), so that it can run on Java 5. I&#8217;ve introduced new package names, so that this package will not mess with the standard javax.imageio package. Feel free to use it. But remember that it comes with no guarantees! If you find any problems you can mail me at java6-gif-backport/at/jakobielsen_dot_net.</p>
<p>Read more at <a href="http://www.jakobnielsen.net/java6-gif-backport">http://www.jakobnielsen.net/java6-gif-backport</a></p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorials</title>
		<link>http://www.jakobnielsen.net/?p=17</link>
		<comments>http://www.jakobnielsen.net/?p=17#comments</comments>
		<pubDate>Fri, 01 Feb 2008 13:14:14 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[comics]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=17</guid>
		<description><![CDATA[Copyright: Use is freely as long as you keep the image intact.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.toondoo.com/public/l/a/z/lazee/toons/cool-cartoon-152229.png"><img src="http://www.toondoo.com/public/l/a/z/lazee/toons/cool-cartoon-152229.png" border="0" alt="\Toon\" title="\Toon\" longdesc="\toon\"/ width="500"/></a></p>
<p>Copyright: Use is freely as long as you keep the image intact.</p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=17</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logging with log4j in jetty-maven-plugin</title>
		<link>http://www.jakobnielsen.net/?p=15</link>
		<comments>http://www.jakobnielsen.net/?p=15#comments</comments>
		<pubDate>Fri, 20 Apr 2007 11:54:44 +0000</pubDate>
		<dc:creator>LaZee</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Maven2]]></category>
		<category><![CDATA[jetty]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://www.jakobnielsen.net/?p=15</guid>
		<description><![CDATA[The jetty-maven-plugin is a great way to run a webapp during development. But the main problem is that it doesn&#8217;t print debug messages when you are using commons-logging. The reason is that it by default uses org.apache.commons.logging.impl.SimpleLog. This logger can&#8217;t print debug messages. Here is the solution on how to change this default behaviour so [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.mortbay.org/maven-plugin/howto.html" target="_blank">jetty-maven-plugin</a> is a great way to run a webapp during development. But the main problem is that it doesn&#8217;t print debug messages when you are using commons-logging. The reason is that it by default uses <em>org.apache.commons.logging.impl.SimpleLog. </em>This logger can&#8217;t print debug messages.  Here is the solution on how to change this default behaviour so that it use Log4J instead.</p>
<p><span id="more-15"></span></p>
<p>Add this to your pom.xml inside the &lt;plugins&gt; tag:</p>
<pre class="brush: xml;">
&lt;plugin&gt;
  &lt;groupid&gt;org.mortbay.jetty&lt;/groupid&gt;
  &lt;artifactid&gt;maven-jetty-plugin&lt;/artifactid&gt;
  &lt;configuration&gt;
    &lt;jettyenvxml&gt;jetty/jetty-env.xml&lt;/jettyenvxml&gt;
    &lt;scanintervalseconds&gt;3&lt;/scanintervalseconds&gt;
    &lt;connectors&gt;
    &lt;connector implementation=&quot;org.mortbay.jetty.nio.SelectChannelConnector&quot;&gt;
      &lt;port&gt;8180&lt;/port&gt;
    &lt;/connector&gt;
    &lt;/connectors&gt;
    &lt;systemproperties&gt;
      &lt;systemproperty&gt;
        &lt;name&gt;org.apache.commons.logging.Log&lt;/name&gt;
        &lt;value&gt;
        org.apache.commons.logging.impl.Log4JLogger
        &lt;/value&gt;
      &lt;/systemproperty&gt;
      &lt;systemproperty&gt;
        &lt;name&gt;slf4j&lt;/name&gt;
        &lt;value&gt;false&lt;/value&gt;
      &lt;/systemproperty&gt;
      &lt;systemproperty&gt;
        &lt;name&gt;log4j.configuration&lt;/name&gt;
        &lt;value&gt;file:./jetty/log4j.properties&lt;/value&gt;
      &lt;/systemproperty&gt;
    &lt;/systemproperties&gt;
  &lt;/configuration&gt;
  &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupid&gt;commons-logging&lt;/groupid&gt;
      &lt;artifactid&gt;commons-logging&lt;/artifactid&gt;
      &lt;version&gt;1.1&lt;/version&gt;
      &lt;type&gt;jar&lt;/type&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
      &lt;groupid&gt;log4j&lt;/groupid&gt;
      &lt;artifactid&gt;log4j&lt;/artifactid&gt;
      &lt;version&gt;1.2.13&lt;/version&gt;
      &lt;type&gt;jar&lt;/type&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
&lt;/plugin&gt;
</pre>
<p>Note that I point to a ./jetty/log4j.properties file. This could look something like:</p>
<pre class="brush: xml;">
log4j.rootCategory=ERROR, A1
log4j.logger.no.api=DEBUG
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d %-4r [%t] %-5p %c %x - %m%n
</pre>
<p>This will print all log messages to your console.</p>
]]></content:encoded>
			<wfw:commentRss>http://js-kit.com/rss/jakobnielsen.net/p=15</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
