How can I pass request response objects to action bean method assetCheckOut?
I have to download a file so wana doCode:<action-state id="checkout"> <!-- action-state must have an evaluate element, a set element, or similar. See the XSD. --> <action bean="assetCheckoutFacade" method="assetCheckOut"/> <transition on="success" to="checkoutdone"/> </action-state>
Please help?Code:response.setContentType("application-xdownload"); response.setHeader("Content-Disposition", "attachment; filename=\"MyFile\"");


Reply With Quote