-
Oct 27th, 2011, 11:44 AM
#1
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)
-
Oct 28th, 2011, 12:43 AM
#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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules