-
Nov 18th, 2012, 12:10 PM
#1
Multiple controllers for one request
I need to show output of several controllers on one page.
* Menu controller: adds "menuItems" collection to the model
* Banner controller: adds "banner" to the model
* ListItems controller: the "main" one: it adds all other data to display
My view (I use xslt) knows about model and works with it.
My question is how to call 3 controllers for one request and combine their output to the one model.
I do not want to use inheritance here (that smells). I do not want to use interceptors because they are low-level and I want to work with mapped parameters instead of request and response.
How that could be implemented in spring MVC?
Thanks!
-
Nov 18th, 2012, 12:53 PM
#2
I will try to use WebRequestInterceptor probably
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