This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Printing Report in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Printing Report in Struts2" Watch "Printing Report in Struts2" New topic
Author

Printing Report in Struts2

debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hi all,

I am in a situation where i have to print some document, (document is a pdf file), I have created the pdf file on the fly, its works fine, but not able to understand how to print the pdf.
i.e. when a user click on the pdf link, the pdf file will be printed through printer.

Any help would be appreciated.
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

I am using the code below but its not working

All i need is to print the pdf file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Printing Report in Struts2