Hi all!. Thanks for the anwsers!!! i've found a method in a french site. This method call a Report in PDF format.
Actually it's not working for me

. I've created the .jasper file in a package on my project. This is the structure:
nsm.moreno.entidades:
--------------------classes
--------------------more classes
--------------------myReport.jasper
Back to the method. i don't understand where to get the "reportId", and,how to use the File object. Anyone has any idea?.. Thanks a lot!