开发者

Support multiple browser/tab session J2EE/Web Application

Because of Inherent property of Web Browsers, that when done in some ways e.g. Ctrl + N, it open new window with session id. This behaviour would effect a web application as normally a web application would do request.getSession() and in the above scenario, the sessions would get mixed up.

Would would be the good way to get out of such situations? (Other than tell users not tell do Ctrl + N 开发者_Python百科:) )


Some web frameworks have explicit support for multiple browser window flows.

E.g. Wicket has the INewBrowserWindowListener interface to implement this functionality. Wicket keeps separate page flows for the different browser windows, isolating their states from each other.


The closest solution is MyFaces orchestra. It allows conversation and window management for JSF.

The upcoming spring release (3.1) is supposed to have support for this (in spring-mvc)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜