<?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: 404 with Grails</title>
	<atom:link href="http://www.javathinking.com/2007/12/404-with-grails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javathinking.com/2007/12/404-with-grails/</link>
	<description>Java and software development related thoughts</description>
	<lastBuildDate>Thu, 29 Dec 2011 20:59:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: paul</title>
		<link>http://www.javathinking.com/2007/12/404-with-grails/comment-page-1/#comment-286</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Tue, 04 Mar 2008 11:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.javathinking.com/?p=55#comment-286</guid>
		<description>Niko, all I really did was log the error in a database table in ErrorsController. The views were static. By logging to the database, I can have a job email me the significant events at the end of the day - or as they happen (for critical events).</description>
		<content:encoded><![CDATA[<p>Niko, all I really did was log the error in a database table in ErrorsController. The views were static. By logging to the database, I can have a job email me the significant events at the end of the day &#8211; or as they happen (for critical events).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niko Schmuck</title>
		<link>http://www.javathinking.com/2007/12/404-with-grails/comment-page-1/#comment-285</link>
		<dc:creator>Niko Schmuck</dc:creator>
		<pubDate>Mon, 03 Mar 2008 22:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.javathinking.com/?p=55#comment-285</guid>
		<description>Thanks Paul for putting this information together.

As additional information to the user I would like the error message (set by sendError in my controller). Unfortunately the Servlet API does not allow to easily retrieve it? 

How much &#039;dynamics&#039; did you put into your error templates?

Thanks,
Niko


PS: http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletResponse.html#sendError(int,%20java.lang.String)</description>
		<content:encoded><![CDATA[<p>Thanks Paul for putting this information together.</p>
<p>As additional information to the user I would like the error message (set by sendError in my controller). Unfortunately the Servlet API does not allow to easily retrieve it? </p>
<p>How much &#8216;dynamics&#8217; did you put into your error templates?</p>
<p>Thanks,<br />
Niko</p>
<p>PS: <a href="http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletResponse.html#sendError(int,%20java.lang.String)" rel="nofollow">http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletResponse.html#sendError(int,%20java.lang.String)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.javathinking.com/2007/12/404-with-grails/comment-page-1/#comment-230</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Sat, 08 Dec 2007 00:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.javathinking.com/?p=55#comment-230</guid>
		<description>It turns out it is a &lt;a href=&quot;http://jira.codehaus.org/browse/GRAILS-1844&quot; rel=&quot;nofollow&quot;&gt;known issue&lt;/a&gt;. Graeme replied when I &lt;a href=&quot;http://www.nabble.com/404-doesn%27t-get-layout-applied-tf4949093.html#a14170024&quot; rel=&quot;nofollow&quot;&gt;posted to the user group&lt;/a&gt;. I guess I was thrown a bit because  it works for the 500 errors, so far I&#039;ve only had problems with the 404.</description>
		<content:encoded><![CDATA[<p>It turns out it is a <a href="http://jira.codehaus.org/browse/GRAILS-1844" rel="nofollow">known issue</a>. Graeme replied when I <a href="http://www.nabble.com/404-doesn%27t-get-layout-applied-tf4949093.html#a14170024" rel="nofollow">posted to the user group</a>. I guess I was thrown a bit because  it works for the 500 errors, so far I&#8217;ve only had problems with the 404.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Saavedra</title>
		<link>http://www.javathinking.com/2007/12/404-with-grails/comment-page-1/#comment-229</link>
		<dc:creator>Pablo Saavedra</dc:creator>
		<pubDate>Fri, 07 Dec 2007 14:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.javathinking.com/?p=55#comment-229</guid>
		<description>The &quot;error&quot; should be between dispatcher tags that were not posted :P.</description>
		<content:encoded><![CDATA[<p>The &#8220;error&#8221; should be between dispatcher tags that were not posted <img src='http://www.javathinking.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Saavedra</title>
		<link>http://www.javathinking.com/2007/12/404-with-grails/comment-page-1/#comment-228</link>
		<dc:creator>Pablo Saavedra</dc:creator>
		<pubDate>Fri, 07 Dec 2007 14:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.javathinking.com/?p=55#comment-228</guid>
		<description>Paul, I think the problem with the layout not being applied is due to the sitemesh filter not being executed during a sendError (should check Servlet API specification to be sure).

I think that could be fixed adding a ERROR to the filter mapping.

My 2C.
Regards,</description>
		<content:encoded><![CDATA[<p>Paul, I think the problem with the layout not being applied is due to the sitemesh filter not being executed during a sendError (should check Servlet API specification to be sure).</p>
<p>I think that could be fixed adding a ERROR to the filter mapping.</p>
<p>My 2C.<br />
Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.javathinking.com/2007/12/404-with-grails/comment-page-1/#comment-227</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Thu, 06 Dec 2007 11:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.javathinking.com/?p=55#comment-227</guid>
		<description>I&#039;ve done this now, thanks for the nudge.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve done this now, thanks for the nudge.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graeme Rocher</title>
		<link>http://www.javathinking.com/2007/12/404-with-grails/comment-page-1/#comment-225</link>
		<dc:creator>Graeme Rocher</dc:creator>
		<pubDate>Wed, 05 Dec 2007 15:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.javathinking.com/?p=55#comment-225</guid>
		<description>btw you should add your blog to http://www.groovyblogs.org/ so others in the groovy community can check it out</description>
		<content:encoded><![CDATA[<p>btw you should add your blog to <a href="http://www.groovyblogs.org/" rel="nofollow">http://www.groovyblogs.org/</a> so others in the groovy community can check it out</p>
]]></content:encoded>
	</item>
</channel>
</rss>

