I have a requirement where i have to list out pdf files which are in my file system, these information(file name, file path) are saved in the database. Now in a report i want to display all those pdf (as hyperlink/button or any ) and if i click on the report name it should be downloaded. How can i do this? is this possible?
Yes - it is possible to link directly to an archived report using a fileview statement. If you have run and stored a copy of the report you can reference it to open directly using a statement like this for authenticated users:
http://localhost:8080/jasperserver/fileview/fileview/somepath/createdname.pdf?
Now the second piece about displaying all existing reports for the user in a report would require you to create an additional connection to the jasperdb created on install and writing a query against the resource table to view all reports within this format.