This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "WLP Struts DownloadAction handleNullActionResult exception" Watch "WLP Struts DownloadAction handleNullActionResult exception" New topic
Author

WLP Struts DownloadAction handleNullActionResult exception

N Ha
Greenhorn

Joined: Jun 02, 2010
Posts: 9
Hello,

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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WLP Struts DownloadAction handleNullActionResult exception
 
It's not a secret anymore!