In my project, currently all static resources are in a webserver. The Pdfs therefore, are accessible directly without any authentication. As a measure of security, we have been asked to move the PDFs to Appserver so that unrestricted and unauthorised download can be avoided.
As with all big portals, this project also uses Content management tools to manage static files. And the deployments from the Content Management tool has been configured only to
All static files in this above folder are mostly html, which are used by the application, through the tiles-def (portlets) I am not aware, how to access a PDF if placed in the above folder. I am required to create a relative path to the PDF which I can call from various JSPs (these relative paths to PDFs should also managed through content management tool) and I need to create a path which can access the files under WEB-INF/classes/resources/..(foldername).
Can someone please guide me to accomplish this task.
Thanks a lot,