How to create a new directory in grails application to store jasper report files those can be downloaded by user
问题 I want to create a new directory to store all pdf reports generated by jasper reports and they should be accessible to users to download as well For example: I am exporting the a file called "pdfreport20110804788.pdf".when i put this file in that directory .i set certain things in controller method and i need the file created to be returned from the groovy method where the new directory is created and its is exported as pdf file so that file should be returned to the controller calling method