wood burning stoves 2.0*
The moose likes Portals and Portlets and the fly likes WLP Struts DownloadAction handleNullActionResult exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "WLP Struts DownloadAction handleNullActionResult exception" Watch "WLP Struts DownloadAction handleNullActionResult exception" New topic

WLP Struts DownloadAction handleNullActionResult exception

N Ha

Joined: Jun 02, 2010
Posts: 9

I'm trying to download a resource from within a portlet using Struts DownloadAction but I get the following exception
Caused By: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException
at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.handleNullActionResult(StrutsStubImpl.java:148)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:766)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:141)
at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.processAction(StrutsStubImpl.java:72)
at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)

I guess that's because the Download Action returns a StreamInfo whereas the portal does not allow that.

I'm using WebLogic Portal 10.3.2 and Struts 1.2

Any help?
I agree. Here's the link: http://aspose.com/file-tools
subject: WLP Struts DownloadAction handleNullActionResult exception