面包屑导航实施
我需要在 J2EE 应用程序的后端和用户界面上实现面包屑。 我只知道什么是面包屑,但不知道它的其他技术方面,因为我认为它也有助于搜索引擎优化和其他方面。
我的问题是,在开发此类功能时需要注意哪些事情,例如我可以想到的几种方法,
- 将用户遍历路径放入会话中,并可以使用它来构建面包屑。
- 就像在产品详细信息页面中一样,用户导航的方式将路径显示为 目录->类别->产品。
请建议我应该采用什么最佳方法,如果有人可以参考 Java 中的面包屑示例实现,这将是我继续前进的额外奖励
I have a requirements of implementing breadcrumb in our J2EE application at both back-end and on user interface.
I only know what is breadcrumb but not aware of its other technical aspects as i have head that it also help in SEO and other things.
My question is what things one need to be take care while developing such functionality like one few approaches i can think of
- Put user traversing path in the session and can use that to build breadcrumb.
- Like in product detail page instead how user navigate show the path as
Catalogue->Category->Product.
Please suggest me what best approach one should have, also if any one can refer a sample implementation in Java for the breadcrumb that will be an added bonus for me to move ahead
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
经过一些研究后,我找到了有关网络开发的合适答案。这里是相同的链接
面包屑链接
After doing some research i found the suitable answer on web development.here is a link for the same
Link for BreadCrumb
我不确定你会使用什么技术。
但 Vaadin 有面包屑附加组件。您可以在 addon-directory 中找到它,并且可能会为您的项目找到一些想法。
I'm not sure about technology you gonna use.
But there is breadcrumb add-on for Vaadin. You can find it in addon-directory and probably find some ideas for your project.