| Author |
Got Problems with Tuckey UrlRewriteFilter and Spring 3 Web MVC
|
Benny Neugebauer
Greenhorn
Joined: Sep 19, 2010
Posts: 1
|
|
Hi, I have a Spring Web MVC application and I want to use RESTful URLs. Regrettably I haven't found any configuration that works for me with Tuckey's UrlRewriteFilter.
I'm using the "DefaultAnnotationHandlerMapping" and I added "urlrewritefilter.jsp" to my classpath and copied "urlrewrite.xml" into "/WEB-INF/".
I wan't to achieve that http://www.domain.com/abc will be redirected (invisible for the user) to http://www.domain.com/app/abc to catch it with my Controller and to let http://www.domain.com/css untouched.
My "web.xml" is configured this way:
My "urlrewrite.xml" is configured this way:
My AbcController.java for mapping http://www.domain.com/abc has such methods:
But I always receive "HTTP Status 404" when trying to access http://www.domain.com/ or http://www.domain.com/abc :-(
It would be very nice if somebody could help.
Greetings
Benny
|
 |
 |
|
|
subject: Got Problems with Tuckey UrlRewriteFilter and Spring 3 Web MVC
|
|
|