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
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?
 
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 orkut.com