2011-02-08 26 views
3

我用spring mvc 3框架创建了一个portlet(jsr286)。如果页面具有SSA(服务器端聚合),那么它工作正常,但在使用CSA(客户端聚合)时它停止工作。我们可以让websphere门户网站CSA和spring MVC3一起工作吗?

我使用的是WPS 7.0 RAD 8.0.1和spring 3.0.1。 任何建议将非常有用。 在此先感谢!

,我正的错误: [11年2月8日18:09:41:750 IST] 00000037 PortletInvokeW¯¯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:正常执行操作失败。

回答

2

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

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

相关问题