Please recommend what navigation strategy to use for Spring MVC 3.0.

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前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏