Hi Saranya,
Use a specific API like lucene
http://lucene.apache.org/
jerome.
--- Saranya Balasubramanian wrote:
> Please let me know if there's a better way to
> implement this function.
http://lucene.apache.org/java/docs/ would be one
solution.
d.
Never miss an email again!
Yahoo! T
Hi all,
I want to implement search on file contents for keywords using struts.
Presently, I am reading the file contents line by line and checking for
the occurrence of the keywords. Below is the code I use for searching a
file.
br = new BufferedReader(new FileReader(file));
3 matches
Mail list logo