Is that possible to upload in my application files Pdf in location like C:/folders/pdfs/... when I create a new component
and when I consult this component I can download his description pdf
I'm using jsf2 and tomcat
Is that possible to upload in my application files Pdf in location like C:/folders/pdfs/... when I create a new component
and when I consult this component I can download his description pdf
I'm using jsf2 and tomcat
Primefaces has a fileUpload component. Using it, users can upload files (you can restrict to only allow PDF files). Once the file is uploaded, you can choose to do anything with it; store it in file system or in database or in an external drive such as Amazon S3. To render pdf files in html you can use Primefaces media component.
As for the pdf description, I don't know what you mean, but you can store in database title, description and some id of the pdf so you can find it later.