<?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>#{茶男與藍牌} &#187; Spring</title>
	<atom:link href="http://www.chentianwen.net/wordpress/tag/spring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chentianwen.net/wordpress</link>
	<description>Life has to be exciting.</description>
	<lastBuildDate>Wed, 01 Feb 2012 01:34:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Spring Framework Annotation-based Controller Interceptor Configuration</title>
		<link>http://www.chentianwen.net/wordpress/2010/01/13/spring-framework-annotation-based-controller-interceptor-configuration/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spring-framework-annotation-based-controller-interceptor-configuration</link>
		<comments>http://www.chentianwen.net/wordpress/2010/01/13/spring-framework-annotation-based-controller-interceptor-configuration/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 04:53:51 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Annotation]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=238</guid>
		<description><![CDATA[<p>from <a href="http://">http://www.scottmurphy.info/spring_framework_annotation_based_controller_interceptors</a></p> <p>In order to use interceptors with Annotation-based controllers, you need to configure the DefaultAnnotationHandlerMapping used by the Spring container.</p> &#60;bean id="annotationMapper" class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"&#62; &#60;property name="interceptors"&#62; &#60;list&#62; &#60;ref bean="myInterceptor1"/&#62; &#60;ref bean="myInterceptor2"/&#62; &#60;ref bean="myInterceptor3"/&#62; &#60;/list&#62; &#60;/property&#62; &#60;/bean&#62; URL Specific Interceptors for Annotation-based controllers <p>Unfortunately, using the DefaultAnnotationHandlerMapping for interceptors configures the interceptors for all defined [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2010/01/13/spring-framework-annotation-based-controller-interceptor-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error page definition in web.xml and Spring</title>
		<link>http://www.chentianwen.net/wordpress/2009/03/31/error-page-definition-in-webxml-and-spring/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=error-page-definition-in-webxml-and-spring</link>
		<comments>http://www.chentianwen.net/wordpress/2009/03/31/error-page-definition-in-webxml-and-spring/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 06:34:52 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=180</guid>
		<description><![CDATA[<p>#<br /> # for servlet<br /> #<br /> You can find the error page from web.xml as following:<br /> <br /> &#60;error-page&#62;<br /> &#60;exception-type&#62;java.lang.Throwable&#60;/exception-type&#62;<br /> &#60;location&#62;/WEB-INF/view/error/uncaughtException.jsp&#60;/location&#62;<br /> &#60;/error-page&#62;<br /> </p> <p>#<br /> # for spring<br /> #<br /> You can find the error page handler in applicationContext.xml<br /> <br /> &#60;bean id="defaultExceptionHandlerTemplate" class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver" abstract="true"&#62;<br /> [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2009/03/31/error-page-definition-in-webxml-and-spring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring ResourceBundleMessageSource Issue</title>
		<link>http://www.chentianwen.net/wordpress/2008/11/20/spring-resourcebundlemessagesource-issue/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spring-resourcebundlemessagesource-issue</link>
		<comments>http://www.chentianwen.net/wordpress/2008/11/20/spring-resourcebundlemessagesource-issue/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 06:13:39 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=121</guid>
		<description><![CDATA[<p>Problem:</p> After configuring messageSource with ResourceBundleMessageSource, messages output by webApplicationContext.getMessage are in wrong language version. But this issue doesn&#8217;t appear in spring message tag. <p>Solution:</p> <p>Replace ResourceBundleMessageSource with ReloadableResourceBundleMessageSource, add property fallbackToSystemLocale and set to false.</p> &#60;bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"&#62; &#60;property name="fallbackToSystemLocale" value="false"/&#62; &#60;property name="basenames"&#62; &#60;list&#62; &#60;value&#62;classpath:messages&#60;/value&#62; &#60;/list&#62; &#60;/property&#62; &#60;/bean&#62; <p>Refer to: <a href="http://day-to-day-stuff.blogspot.com/2008/07/spring-message-resource-weirdness.html" target="_blank">http://day-to-day-stuff.blogspot.com/2008/07/spring-message-resource-weirdness.html</a></p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2008/11/20/spring-resourcebundlemessagesource-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

