websphere-portal - 我们可以让 websphere portal CSA 和 spring MVC3 一起工作吗?

标签 websphere-portal

我用 spring mvc 3 框架创建了一个 portlet(jsr286)。如果页面有 SSA(服务器端聚合),它工作正常,但是当使用 CSA(客户端聚合)时它停止工作。

我正在使用 WPS 7.0 RAD 8.0.1 和 spring 3.0.1。 任何建议都会非常有帮助。 提前致谢!

我得到的错误: [2/8/11 18:09:41:750 IST] 00000037 PortletInvoke W com.ibm.wps.wsrp.producer.provider.pc.waspc.impl.PortletInvokerImpl newBlockingInteractionResponse 由于安全违规,操作执行被拒绝。缺少操作 ID。 [2/8/11 18:09:41:781 IST] 00000037 WSRPEngine E com.ibm.wps.wsrp.producer.impl.WSRPEngine performBlockInteraction EJPWC1109E:操作的正常执行失败。 com.ibm.wps.wsrp.exception.WSRPException:EJPWC1109E:操作的正常执行失败。

最佳答案

我在 WPS 7 中遇到了同样的问题,查看了 portlet 页面 html 源,表单操作属性值是一个 Websphere Portal javascript,其中对 portlet 操作 URL 进行了编码。此解决方案是将 spring 表单标记的 htmlEscape 属性设置为 false 以禁用 html 转义,以便门户引擎可以正确编码操作 URL。

该解决方案在 Websphere Portal 7.0.0.2 中通过 WAS Application Server 7.0.0.21 和 Spring MVC 3.1.0 进行了验证。

关于websphere-portal - 我们可以让 websphere portal CSA 和 spring MVC3 一起工作吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4933302/

相关文章:

web-services - Websphere Portal 中的共享端点 URL

java - 需要垃圾收集开销帮助

java - 用于 WebSphere Portal 开发的轻量级门户服务器?

websphere-portal - 如何重置 IBM WebSphere Portal Server

linux - 将 Websphere Portal 8.5 从 AIX 克隆到 Linux

java - WAR 安装错误的编码解决方案(Websphere Portal 6.0)?

websphere-portal - 将网站迁移到 IBM Web Content Manager 8

websphere - IBM Websphere Portal 7 中 portlet 标签库的定义 JAR 在哪里?

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

spring-mvc - 带参数的 Portlet 页面导航 - Spring MVC、WebSphere Portal 和 JSR 286