I'm starting out a Spring MVC 3.0 application and getting controllers and views working nicely, the one thing I now need to do is get navigation working. So for each view I have, it needs to know what item in the "menu" part of the view to highlight and what menu options are available to that view.
One thing I thought of was to get the controller to tell the view where it is, but that's binding view logic into the controller. My views menu is in its own include which I include within each view.
What are your approaches? I'm thinking of using tiles, to this point I've only been using JSP and JSTL, maybe this will help?
以上就是Please recommend what navigation strategy to use for Spring MVC 3.0.的详细内容，更多请关注web前端其它相关文章！