This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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(
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(
at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.processAction(
at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(

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?
Don't get me started about those stupid light bulbs.
subject: WLP Struts DownloadAction handleNullActionResult exception
Similar Threads
How to implement download a file/pdf file in struts.
Java / Struts : Open document in a Popup using Struts Action
Need the steps for Integrating a Struts Application in Portal
Old Struts and content-type/attachments
use photographs in the database like