how to use search engine feature in my application?

datta.saru@gmail.com's Avatar, Join Date: Aug 2006
Newbie Member
Hi experts,
In my struts application, I have a Jsp page where in it collects some keywords, based on that it has to search for files my machine(all disks like C:\,D:\,E:\..........). How to develop this using Servlet/JSP.
plz help me. Its urgent any code help is highly appreciated.
Thanks in advance!!!
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Please dont make multiple threads with same topic. Please refer to thread how to use search engine feature in my application?
datta.saru@gmail.com's Avatar, Join Date: Aug 2006
Newbie Member
hi Shabbir,
I got no answer for my question. can you plz let me know how it can be done
Any code help is highly appreciated.
Thanks a lot
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Can you clarify what you are looking for.

Probably you need an application as web page cannot search any areas of the user machine. Yes it can do on the server side.
datta.saru@gmail.com's Avatar, Join Date: Aug 2006
Newbie Member
Hi shabbir,
There will be having a search box and Go button in my appl(Machine A), When the user enters some keyword say 'java' it has to search all the files in another host(Machine B) where the files will be present. Yes it seraches on the other server( say Machine B has Tomcat server installed on it). How to do this functionality. Help me with code
Thanks a lot
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
If you need to search using a web interface to the local data on the hard disk on other machine you need to follow the following steps.

1. Have an appliaction running on machine B which parses the data on the local drive of machine B and stores the related information into the database.
2. Create a web interface so that when any query comes to the server it responds according to the database data created in step 1.
3. Display the results on the machine A using the interface of the server on machine B.