-
Dec 25th, 2004, 11:12 AM
#1
Intereceptors and useless GET parameters
Hi,
I'm using a HandlerInterceptorAdapter to postHandle my pages. I'm new to Spring, but I figured out this would be a somewhat sensible way to add some data (customer information etc.) to all my pages.
Basically everything works fine, I can add objects to my ModelAndView and they appear in the (Velocity) view. However, when those objects are added in my interceptor, they also end up being useless GET parameters in the URL. Something like:
/myapp/foo?customer=com.foo.bar.Customer=%4012345
When I add objects to my ModelAndView in a normal handler (controller), this doesn't happen. Why is interceptor different and is it possible to disable this behaviour?
Thanks,
Mutru
-
Dec 25th, 2004, 06:44 PM
#2
Mutru,
What Spring version are you using?
Basically, the objects are shown in the URL when you issue a redirect.
HTH
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