SyntaxFix
Write A Post
Hire A Developer
Questions
You can try FileUtils from org.apache.commons.io.FileUtils, try downloading jar from here
and you can use the following method: FileUtils.readFileToString("yourFileName");
Hope it helps you..