I have a database table in my JSP. When I select a row in the table and hit "Print", it needs to print the fields on a paper. I open a separate window when "Print" is hit and show the print dialog. My question is how do I carry the field values from the parent JSP to the new window and print them. Please help..
Joined: Apr 27, 2007
Thanks.. Do you have any code samples I can look at... I too have the same idead of implementing. But I'm stuck at how to pass it to a new window and print from there.. Code samples would guide me better. I appreciate your help..
Joined: Nov 08, 2001
I am not sure how you are getting or selecting the id of the row. If you would have mentioned that, I could have helped you out a bit more.
on yourPrintPage.jsp you can do
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com