portlet - 如何在 IBM Websphere Portal 7.0 中刷新单个 portlet

标签 portlet websphere-portal

我的任务是在我们的登陆页面上刷新一个 portlet,而不刷新页面的其余部分,因为它可能会杀死我们的服务器。如果每次刷新整个页面这些设置就会改变。目前无法选择购买新服务器或优化我们的设置。

最佳答案

如果您将 Portlet 更改为资源服务 Portlet,则可以使用serveResource 方法和resourceURL,该方法在调用时不会刷新页面。

您还必须编写一些 JS 来通过 AJAX 请求与资源 URL 进行交互。

关于portlet - 如何在 IBM Websphere Portal 7.0 中刷新单个 portlet,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35092419/

相关文章:

tomcat - 无法查看使用 Eclipse IDE 创建的示例 Portlet

java - 在liferay portlet中使用jsp作为img src

java - WebSphere DynaCache 淡化问题

java - WebSphere : How to get the decoded page name in doView portlet method?

java - 获取 Websphere 门户中的所有用户

java - 简单的 Liferay ProcessAction 不起作用

javascript - Portlet 中的YUI 版本冲突问题

JavaScript 和 CSS 在我的 liferay portlet 中不起作用

java - 如果用户单击 IE 或 websphere Portal 上的 mozilla 中的新选项卡,如何启动新 session ?