hey in my java script file am calling action as follows and it displays the
jasper report.
window.open("itemsNotInPackageReport.action?branchName=" +
$('select#branchName option:selected').val());
so now i want to send this to printer directly when i am calling action.
Is it possible???
i ve used like this also
window.open("itemsNotInPackageReport.action?branchName=" +
$('select#branchName option:selected').val());
window.print();
but it is printing the empty page but generating the report successfully
action in struts.xml
<action
name="itemsNotInPackageReport"
method="getItemsNotInPackageReport"
class="com.ae.school.web.action.sales.reports.ItemsNotInPackageAction">
<result name="itemsNotInPackageReport" type="jasper">
/jasper/sales/ItemsNotInPackageReport.jasper
itemNameList
PDF
</result>
</action>
please help me its urgent for me
--
View this message in context:
http://old.nabble.com/Integrate-JasperReports-into-a-Struts2-web-application-tp23479814p30948492.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]