Announcement Announcement Module
No announcement yet.
cobining HDiv FIlter with spring MVC interceptor Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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?