英文:
How to develop dynamic multiple tabs in vaadin and spring boot?
问题
正如我们几乎在每个浏览器中看到的那样,有一个用于多个浏览选项卡的功能。对于Web应用程序开发人员来说,开发这样一个功能是如何可能的?在浏览不同选项卡时,我如何将用户状态保留下来?
英文:
As we've seen in almost every browser a feature for multiple browsing tabs. How is it possible for a Web-application dev to develop such a feature? How can I store the user state as it is while navigating through different tabs?
答案1
得分: 2
HTTP会话在指向同一应用程序的所有浏览器选项卡之间共享。在Spring Vaadin应用程序中,您可以使用“会话”范围的Bean来存储对每个浏览器选项卡可用的状态。
英文:
The HTTP session is shared between all browser tabs that point to the same application. In Spring Vaadin app, you can use a session
scoped Bean to store state that is available to each browser tab.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论