I have a page in my application where I need to print a selected record.
The print operation should happen at the client side.
I tried using many API's like java.awt.print, javax.print etc..
They all work when I tried in standalone mode (when compiled and run as a
java file)..
But when I use the same code in a
servlet or java bean, it wouldn't work..
When I hit the Print button, it keeps thinking and nothing happens..
I'm sure my approach is incorrect..
Please help me how to go about it..