This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes How can I do a text search in a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "How can I do a text search in a file" Watch "How can I do a text search in a file" New topic
Author

How can I do a text search in a file

Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
hi
Is it possible to do a text search on a .doc or .pdf file using java using FileReader of BufferedReader actually what i want to do is to take a text from a textbox in a JSP page and then search a particular file using that text.
Amit Roy


<I>Chance Favours the Prepared minds"</I>
Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
Does no i know the answer
sadanand varma
Greenhorn

Joined: Aug 26, 2001
Posts: 3
Hi amith
I need this program urgently.could u please send it urgently.
thanks
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
.doc and .pdf files are in complicated formats. There is no easy solution. You will have to use a third party API to parse them.
 
Don't get me started about those stupid light bulbs.
 
subject: How can I do a text search in a file
 
Similar Threads
java utility to search text in files
Text Search on a file from a JSP page?????
Update html file through java code
I have a question on User Interface!
Seaching and Replacing text program