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
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: 860

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
 
Consider Paul's rocket mass heater.
 
subject: accessing a pdf file using file upload
 
Similar Threads
what if I want to write to chooser file rather message the message2=...?
Unable to save a file using JFileChooser
Reading file in and sperating it out :URGENT
How to import Image file
JTextarea and JScrollPane