Results 1 to 2 of 2

Thread: cobining HDiv FIlter with spring MVC interceptor

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    13

    Default cobining HDiv FIlter with spring MVC interceptor

    A breef problem description is as follows:

    1. We have a custom session interceptor mapping some 70 urls out of 100
    2. Now we want to configure HDiv and he only gives Filter (not interceptor)

    Now the problem is: The HDiv works only if it (i.e.. the filter) runs after the session interceptor. We are using SpringMVC; Spring mvc also gives a way to configure filters.. how ever all these cases the filter runs before the interceptor. I was wondering if we can flip them some how... The other soln i see is to replace customSessionINterceptor with customSessionFilter which i want to avoid ('cos full regression/ qa cycles etc)

    any thoughts?

    ( The custom session interceptor maintains session in central cache)

  2. #2
    Join Date
    Nov 2008
    Posts
    13

    Default

    One thing i could think of to wrap the HDiv filter in an interceptor and configure that one after cusotmSessionInterceptor... do u see any issues with this approach???? somehow i think i m trying to retro fit the solution... and hence feel its dirty... can somebody share their thoughts on this please?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •