<?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: Mapping many/all URL&#8217;s to a single spring controller using annotations</title>
	<atom:link href="http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html</link>
	<description>Everything java</description>
	<lastBuildDate>Wed, 28 Jul 2010 18:37:29 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PUK</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-581</link>
		<dc:creator>PUK</dc:creator>
		<pubDate>Sun, 20 Dec 2009 10:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-581</guid>
		<description>The RequestMapping of /* at the controller-level doesn&#039;t work. I&#039;m using Spring 3.0.0.RC3. The container&#039;s throwing a HTTP 500 with the following:

javax.servlet.ServletException: No adapter for handler [org.actest.web.DefautController@1912965]: Does your handler implement a supported interface like Controller?

If I put the /* at the method level, it works.

Also, can you tell me where you read that Spring looks for more specific mapping before the more general case? I&#039;m interested in having a default catch-all handler.

Thanks,

PUK</description>
		<content:encoded><![CDATA[<p>The RequestMapping of /* at the controller-level doesn&#8217;t work. I&#8217;m using Spring 3.0.0.RC3. The container&#8217;s throwing a HTTP 500 with the following:</p>
<p>javax.servlet.ServletException: No adapter for handler [org.actest.web.DefautController@1912965]: Does your handler implement a supported interface like Controller?</p>
<p>If I put the /* at the method level, it works.</p>
<p>Also, can you tell me where you read that Spring looks for more specific mapping before the more general case? I&#8217;m interested in having a default catch-all handler.</p>
<p>Thanks,</p>
<p>PUK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikram</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-502</link>
		<dc:creator>Vikram</dc:creator>
		<pubDate>Sat, 22 Aug 2009 09:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-502</guid>
		<description>I find your articles and tutorial of extremely great help. Precise on knowing exactly what I want to know. I just had a problem though, I created @RequestMapping( &quot;/user/* ) on my class level and then at the method level I defined individual RequestMapping with different urls such as @RequestMapping( &quot;saveUser.htm&quot; ). Spring docs say we can do this to filter out in the class which method should be invoked upon which URL.

Somehow the mapping jst isn&#039;t working for the class level. :(</description>
		<content:encoded><![CDATA[<p>I find your articles and tutorial of extremely great help. Precise on knowing exactly what I want to know. I just had a problem though, I created @RequestMapping( &#8220;/user/* ) on my class level and then at the method level I defined individual RequestMapping with different urls such as @RequestMapping( &#8220;saveUser.htm&#8221; ). Spring docs say we can do this to filter out in the class which method should be invoked upon which URL.</p>
<p>Somehow the mapping jst isn&#8217;t working for the class level. <img src='http://www.codercorp.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniweil</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-450</link>
		<dc:creator>daniweil</dc:creator>
		<pubDate>Thu, 23 Apr 2009 10:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-450</guid>
		<description>de.netlog.com/username/photo/photoid=photoid</description>
		<content:encoded><![CDATA[<p>de.netlog.com/username/photo/photoid=photoid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniweil</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-449</link>
		<dc:creator>daniweil</dc:creator>
		<pubDate>Thu, 23 Apr 2009 10:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-449</guid>
		<description>would be great for an answer. have a look at netlog e.g. the use url´s like
http://de.netlog.com//photo/photoid=
do you have an idea how to realize that?

thanks a lot!</description>
		<content:encoded><![CDATA[<p>would be great for an answer. have a look at netlog e.g. the use url´s like<br />
<a href="http://de.netlog.com//photo/photoid=" rel="nofollow">http://de.netlog.com//photo/photoid=</a><br />
do you have an idea how to realize that?</p>
<p>thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adedayo</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-432</link>
		<dc:creator>Adedayo</dc:creator>
		<pubDate>Mon, 30 Mar 2009 17:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-432</guid>
		<description>Pardon my bad written english. But i see that my web.xml servlet mappings were not properly formated. Still waiting for your response. Thanks!</description>
		<content:encoded><![CDATA[<p>Pardon my bad written english. But i see that my web.xml servlet mappings were not properly formated. Still waiting for your response. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adedayo</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-431</link>
		<dc:creator>Adedayo</dc:creator>
		<pubDate>Mon, 30 Mar 2009 17:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-431</guid>
		<description>Hi, i have got a littl e bit of a challenge. I av a controller with serverl mappings within it. Using method level request mappings annotations for an annotated Class. Now wen i a method with @RequestMapping(value={&quot;/fbeasysms/*&quot;,&quot;/fbwelcome.do&quot;}),thing is now i get all request with context /fbeasysms being mapped to this method a valid method handler with @RequestMapping(&quot;/fbeasysms/fbmainpage&quot;) is still being directed to the first method handler mentioned earlire. Any tip would be of help. Lastly meth web.xml looks like this: 
		easybuy
		*.do
	
	
	
		easybuy
		/fbeasysms/*
	
	
	
		easybuy
		/fbeasysms
	

when i tried add :
 
		easybuy
		/fbeasysms/*.do
	

or 
		easybuy
		/fbeasysms/*.fb
	

I get error messages at startup. Tahnks!</description>
		<content:encoded><![CDATA[<p>Hi, i have got a littl e bit of a challenge. I av a controller with serverl mappings within it. Using method level request mappings annotations for an annotated Class. Now wen i a method with @RequestMapping(value={&#8221;/fbeasysms/*&#8221;,&#8221;/fbwelcome.do&#8221;}),thing is now i get all request with context /fbeasysms being mapped to this method a valid method handler with @RequestMapping(&#8221;/fbeasysms/fbmainpage&#8221;) is still being directed to the first method handler mentioned earlire. Any tip would be of help. Lastly meth web.xml looks like this:<br />
		easybuy<br />
		*.do</p>
<p>		easybuy<br />
		/fbeasysms/*</p>
<p>		easybuy<br />
		/fbeasysms</p>
<p>when i tried add :</p>
<p>		easybuy<br />
		/fbeasysms/*.do</p>
<p>or<br />
		easybuy<br />
		/fbeasysms/*.fb</p>
<p>I get error messages at startup. Tahnks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniweil</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-428</link>
		<dc:creator>daniweil</dc:creator>
		<pubDate>Fri, 27 Mar 2009 17:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-428</guid>
		<description>yep, or like mydomain/user/gaurv  to say that after /user/ there will be every time the username...
thanks!</description>
		<content:encoded><![CDATA[<p>yep, or like mydomain/user/gaurv  to say that after /user/ there will be every time the username&#8230;<br />
thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav Arora</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-426</link>
		<dc:creator>Gaurav Arora</dc:creator>
		<pubDate>Tue, 24 Mar 2009 12:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-426</guid>
		<description>How do you want to get the username? Do you mean something like /mydomain/gaurav where gaurav is my username?</description>
		<content:encoded><![CDATA[<p>How do you want to get the username? Do you mean something like /mydomain/gaurav where gaurav is my username?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daniweil</title>
		<link>http://www.codercorp.com/blog/spring/mapping-manyall-urls-to-a-single-spring-controller-using-annotations.html/comment-page-1#comment-424</link>
		<dc:creator>daniweil</dc:creator>
		<pubDate>Mon, 23 Mar 2009 08:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=210#comment-424</guid>
		<description>hi. first of all great blog and nice style.
just one more scenario:
say we want to retrieve user with a specific mapping like
mydomain/u/
so we can map that like above described, but what about the username? how
to get it? is there a possibility without splitting the http request?
thanks for your comment!</description>
		<content:encoded><![CDATA[<p>hi. first of all great blog and nice style.<br />
just one more scenario:<br />
say we want to retrieve user with a specific mapping like<br />
mydomain/u/<br />
so we can map that like above described, but what about the username? how<br />
to get it? is there a possibility without splitting the http request?<br />
thanks for your comment!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
