Hello,
I am using
struts 2 in my application. I have to do report download. I am doing the report build in one action and then moving to another page. I need the download option to come when i move to the page after report build.
For the reporting stuff i am using jasper reporting.
I gave like
response.sendRedirect("../../../images/upload/reportDestDir/1GenericReport.pdf"); in the downloadDetailsPage.
In struts i gave like
<action name="download" class="com.trivand.apps.autos.action.***Action" method="downloadReport">
<result name="success">/pages/common/public/downloadDetailsPage.jsp</result>
</action>
But i need to do it like after the action is performed it should go to the downloadDetailsPage and show the download or openwith option..
Please help me out...
Thanks in advance
Aneesh