Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
String inputFile = "/www/tomcat/webapps/courtscan/OH/demo/documents/2009/1-60.pdf"; String outputFile = "/usr/local/apache/htdocs/new.pdf"; PDDocument doc = PDDocument.load( inputFile ); out.print(doc.getNumberOfPages() ); doc.save( outputFile ); doc.close();
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.