Using UrlRewriteFilter with the Spring Framework - Carbon Five

13 views
Skip to first unread message

subodh

unread,
Sep 24, 2009, 12:41:37 AM9/24/09
to UrlRewrite
http://www.carbonfive.com/community/archives/2007/06/using_urlrewrit.html


I tried to implement your suggested way of integrating UrlRewrite with
Spring. But somehow it not working for me. I mean UrlRewrite API is
not getting invoked also.Url are getting directly called bypassing
Urlrewrite.
When i go through implementation of declaring filter in web.xml
approach and remove this approach then it is working. But i think
your approach of integration is much cleaner in spring respective.

i did all the same steps as u mentioned.
Step 1 :
Created FilterFactoryBean.java
Step 2 :
added urlrewrite.jar in lib.
Step 3 :
Added the configuration in applicationContext-security.xml[acegi
file] ,Even i tried adding in applicationContext.xml as well as
[projectname]-servlet.xml file.

Please help me out that where i am goofing up.

Avlesh Singh

unread,
Sep 24, 2009, 4:59:33 AM9/24/09
to urlre...@googlegroups.com
Copy-paste your spring's web.xml configuration and the UrlRewriteFilter configuration inside spring.
Also, paste any amount of code that you might have written to make this work.

Cheers
Avlesh

em

unread,
Nov 16, 2009, 8:31:55 AM11/16/09
to UrlRewrite
Hello
Have you resolved this problem? I've got the same one and I don't know
how to handle it.

On 24 Wrz, 09:59, Avlesh Singh <avl...@gmail.com> wrote:
> Copy-paste your spring's web.xml configuration and the UrlRewriteFilter
> configuration inside spring.
> Also, paste any amount of code that you might have written to make this
> work.
>
> Cheers
> Avlesh
>
>
>
> On Thu, Sep 24, 2009 at 10:11 AM, subodh <tosubodh1...@gmail.com> wrote:
>
> >http://www.carbonfive.com/community/archives/2007/06/using_urlrewrit....
Reply all
Reply to author
Forward
0 new messages