<?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/"
	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>Comments for developing developer</title>
	<atom:link href="http://developingdeveloper.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://developingdeveloper.wordpress.com</link>
	<description>java - spring - ddd - ria - remoting</description>
	<lastBuildDate>Thu, 11 Jun 2009 01:04:38 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Handling Exceptions In Spring MVC &#8211; Part 2 by Thusjanthan Kubendranathan</title>
		<link>http://developingdeveloper.wordpress.com/2008/03/09/handling-exceptions-in-spring-mvc-part-2/#comment-58</link>
		<dc:creator>Thusjanthan Kubendranathan</dc:creator>
		<pubDate>Thu, 11 Jun 2009 01:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=5#comment-58</guid>
		<description>Hi, 

Will this intercept HTTP 500 errors as well? I have the exact same setup but it throws a 500 exception: 

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.orm.hibernate3.HibernateSystemException: Provided id of the wrong type. Expected: class java.lang.Integer, got class java.lang.String; nested exception is org.hibernate.TypeMismatchException: Provided id of the wrong type. Expected: class java.lang.Integer, got class java.lang.String
	org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:659)


For this should I have the setup in web.xml or will this work fine?</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Will this intercept HTTP 500 errors as well? I have the exact same setup but it throws a 500 exception: </p>
<p>HTTP Status 500 -</p>
<p>type Exception report</p>
<p>message</p>
<p>description The server encountered an internal error () that prevented it from fulfilling this request.</p>
<p>exception</p>
<p>org.springframework.orm.hibernate3.HibernateSystemException: Provided id of the wrong type. Expected: class java.lang.Integer, got class java.lang.String; nested exception is org.hibernate.TypeMismatchException: Provided id of the wrong type. Expected: class java.lang.Integer, got class java.lang.String<br />
	org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:659)</p>
<p>For this should I have the setup in web.xml or will this work fine?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Common Reference Data in Spring MVC by Soongy webOS</title>
		<link>http://developingdeveloper.wordpress.com/2008/02/28/common-reference-data-in-spring-mvc/#comment-57</link>
		<dc:creator>Soongy webOS</dc:creator>
		<pubDate>Mon, 04 May 2009 07:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=8#comment-57</guid>
		<description>thanks :)</description>
		<content:encoded><![CDATA[<p>thanks <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Exceptions In Spring MVC &#8211; Part 1 by Jan</title>
		<link>http://developingdeveloper.wordpress.com/2008/02/20/handling-exceptions-in-spring-mvc-part-1/#comment-56</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Thu, 23 Apr 2009 14:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=4#comment-56</guid>
		<description>Nice article :-)
I was wondering about the same question that Srikanta raised:
How does one go about passing a model with additional information to the errorview(s) resolved by the exceptionresolver...?

Well, the only way to create context specific information is to catch the exception, add more information and then re-throw the exception, right?
Some might feel that doing this sort of defeats the purpose of the exceptionresolver... But it still prevents your controller from having to know about the error view.
What I did was to create a model map with the context specific information (just a user-friendly high-level error message actually..) and then add this as a request attribute, which is available in my exceptionresolver override, from where it is easily added to the ModelAndView.</description>
		<content:encoded><![CDATA[<p>Nice article <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
I was wondering about the same question that Srikanta raised:<br />
How does one go about passing a model with additional information to the errorview(s) resolved by the exceptionresolver&#8230;?</p>
<p>Well, the only way to create context specific information is to catch the exception, add more information and then re-throw the exception, right?<br />
Some might feel that doing this sort of defeats the purpose of the exceptionresolver&#8230; But it still prevents your controller from having to know about the error view.<br />
What I did was to create a model map with the context specific information (just a user-friendly high-level error message actually..) and then add this as a request attribute, which is available in my exceptionresolver override, from where it is easily added to the ModelAndView.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Exceptions In Spring MVC &#8211; Part 1 by Bala</title>
		<link>http://developingdeveloper.wordpress.com/2008/02/20/handling-exceptions-in-spring-mvc-part-1/#comment-52</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Mon, 06 Apr 2009 12:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=4#comment-52</guid>
		<description>A good article never seen before!!!!</description>
		<content:encoded><![CDATA[<p>A good article never seen before!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Exceptions In Spring MVC &#8211; Part 1 by natt</title>
		<link>http://developingdeveloper.wordpress.com/2008/02/20/handling-exceptions-in-spring-mvc-part-1/#comment-51</link>
		<dc:creator>natt</dc:creator>
		<pubDate>Tue, 17 Mar 2009 15:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=4#comment-51</guid>
		<description>Hi! I have the same problem as Monalisa. I have tried to use the SimpleMappingExceptionResolver but it doesn&#039;t work. What can i do?
Thank you very much.</description>
		<content:encoded><![CDATA[<p>Hi! I have the same problem as Monalisa. I have tried to use the SimpleMappingExceptionResolver but it doesn&#8217;t work. What can i do?<br />
Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting the default request format for a Rails app by Taylor</title>
		<link>http://developingdeveloper.wordpress.com/2009/02/11/setting-the-default-request-format-for-a-rails-app/#comment-49</link>
		<dc:creator>Taylor</dc:creator>
		<pubDate>Wed, 25 Feb 2009 02:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=23#comment-49</guid>
		<description>Great post.  For the public APIs I have been building the users have been sending Content-type application/xml (when sending XML) and Accept text/xml for receiving xml.  I respond with YAML by default, eg. in the HTML response block.  I may change the default to something like you have shown though because it is more explicit what is happening.

BTW, you can completely disable smilies/emoticons if you wish... I am happy with text version myself ;) 

http://codex.wordpress.org/Using_Smilies

I wonder if thinsp would help... :&#8201;)</description>
		<content:encoded><![CDATA[<p>Great post.  For the public APIs I have been building the users have been sending Content-type application/xml (when sending XML) and Accept text/xml for receiving xml.  I respond with YAML by default, eg. in the HTML response block.  I may change the default to something like you have shown though because it is more explicit what is happening.</p>
<p>BTW, you can completely disable smilies/emoticons if you wish&#8230; I am happy with text version myself <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p><a href="http://codex.wordpress.org/Using_Smilies" rel="nofollow">http://codex.wordpress.org/Using_Smilies</a></p>
<p>I wonder if thinsp would help&#8230; :&thinsp;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Exceptions In Spring MVC &#8211; Part 1 by Monalisa</title>
		<link>http://developingdeveloper.wordpress.com/2008/02/20/handling-exceptions-in-spring-mvc-part-1/#comment-45</link>
		<dc:creator>Monalisa</dc:creator>
		<pubDate>Wed, 22 Oct 2008 10:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=4#comment-45</guid>
		<description>I&#039;m using the spring exceptionResolver for session expire exception and redirecting to the login page. How can I show a message to the user that the session has expired and then redirect to the login page. Any suggestion is highly appreciated.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using the spring exceptionResolver for session expire exception and redirecting to the login page. How can I show a message to the user that the session has expired and then redirect to the login page. Any suggestion is highly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Exceptions In Spring MVC &#8211; Part 1 by Josh Kalderimis</title>
		<link>http://developingdeveloper.wordpress.com/2008/02/20/handling-exceptions-in-spring-mvc-part-1/#comment-44</link>
		<dc:creator>Josh Kalderimis</dc:creator>
		<pubDate>Wed, 09 Jul 2008 18:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=4#comment-44</guid>
		<description>Although, I really do need to finish the 3rd article in this series, once I find a spare moment I will try too (traveling Europe at the moment).</description>
		<content:encoded><![CDATA[<p>Although, I really do need to finish the 3rd article in this series, once I find a spare moment I will try too (traveling Europe at the moment).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Exceptions In Spring MVC &#8211; Part 1 by Josh Kalderimis</title>
		<link>http://developingdeveloper.wordpress.com/2008/02/20/handling-exceptions-in-spring-mvc-part-1/#comment-43</link>
		<dc:creator>Josh Kalderimis</dc:creator>
		<pubDate>Wed, 09 Jul 2008 18:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=4#comment-43</guid>
		<description>Hi Nayha,

Why are your filters throwing exceptions? The Spring Exception strategy is only for controllers, so if you can&#039;t stop your filters throwing exceptions, I would put an exception catch in the web.xml for the specific error and general Exception error.

Hope this helps,

Josh</description>
		<content:encoded><![CDATA[<p>Hi Nayha,</p>
<p>Why are your filters throwing exceptions? The Spring Exception strategy is only for controllers, so if you can&#8217;t stop your filters throwing exceptions, I would put an exception catch in the web.xml for the specific error and general Exception error.</p>
<p>Hope this helps,</p>
<p>Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling Exceptions In Spring MVC &#8211; Part 1 by Nayha</title>
		<link>http://developingdeveloper.wordpress.com/2008/02/20/handling-exceptions-in-spring-mvc-part-1/#comment-42</link>
		<dc:creator>Nayha</dc:creator>
		<pubDate>Wed, 09 Jul 2008 15:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://developingdeveloper.wordpress.com/?p=4#comment-42</guid>
		<description>But Spring&#039;s exception handler doesn&#039;t handle exceptions thrown by filters which are called before we hit dispatcher servlet ..... how do we handle them?</description>
		<content:encoded><![CDATA[<p>But Spring&#8217;s exception handler doesn&#8217;t handle exceptions thrown by filters which are called before we hit dispatcher servlet &#8230;.. how do we handle them?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
