2014-11-21 39 views
0

將DWR(Direct Web Remoting)與WebSphere Portal集成的最佳方式是什麼?我有WebSphere Portal 7.使用WebSphere Portal集成DWR(Direct Web Remoting)

當時,我只是將jar DWR3.jar添加到lib文件夾,並且已經將DWR servlet聲明爲web.xml。

它的作品很好,如果我不需要會話或不生成包含鏈接的內容。

但是,如果我想從DWR會話存儲數據,並沒有DWR檢索,數據有時會丟失......

我已經看到了DWR網址電話:

enter image description here

這個調用不要調用Portlet Servlet。

在門戶網站其他電話:

enter image description here

此調用不會調用Portlet的Servlet的。

會話如何在WebSphere Portal中共享?

你能幫我嗎?謝謝。

回答

0

如果DWR servlet是門戶的相同WAS的一部分,那麼portal和DWR servlet都共享相同的會話。