I am working on a project where I need to display a pdf on a webpage. I have my code working but it only works with the Form file i.e. the user has to submit a file to view it.