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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: accessing a pdf file using file upload
 
Similar Threads
Unable to save a file using JFileChooser
How to import Image file
JTextarea and JScrollPane
what if I want to write to chooser file rather message the message2=...?
Reading file in and sperating it out :URGENT