Eclipse RAP开发中如何记录上次访问的页面

how to record last visit page on Eclipse RAP develop

在RAP eclipse开发中,想记录上次访问的页面,下次打开应用就是上次访问的页面。 哪个API我需要用RAP eclipse开发?

当只是重新加载应用程序时,BrowserNavigation might help. For example, this online demo uses this service to set an entry into the browser history for every page that is opened. When you select a page in the menu and then reload, the application will load the same page. This demo is part of the RAP project, you can have a look at the source code

如果此解决方案还不够,RAP 开发人员指南还包含对 storing data 在 RAP 应用程序中的介绍。