File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WLP Struts DownloadAction handleNullActionResult exception