title: Finding line number of a word in a text file using java
body: <p>I require searching a word in a text file and display the line number using java. If it appears more than once I need to show all the line numbers in the output. Can anyone help me please?</p>