aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes accessing a pdf file using file upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "accessing a pdf file using file upload" Watch "accessing a pdf file using file upload" New topic
Author

accessing a pdf file using file upload

Arian Gerryts
Greenhorn

Joined: Mar 22, 2012
Posts: 11
I want to access a pdf file for the purpose of splitting it by using JFileChooser but PdfReader cannot read the file. The IOException reads "Publishing Letter.pdf not found as file or resource".



Is it possible to access the pdf file by using the JfileChooser for the purpose of splitting it?, how would I do it?
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Where is the file?

Where are you executing the Class from?

Without a full path, it could be looking in the wrong place(s).

WP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing a pdf file using file upload