search within the site

I have site having 40 pages and 400 links. You can say its a link information providing site. I want to know how can I serach a speicfic link within a my site of 40 pages by using JAVA Server Pages.thanks for helpZAK
[251 byte] By [jprizm] at [2007-9-26 1:33:42]
# 1

You could run through all the pages file by file, searching for the <a > </a> tags and extract them to a database. That is probably the most effective if they are carried as part of flat rather than dynamic pages.

It is worth thinking about using a database to carry your list of links to start with. That makes it a little easier to check they are all live and correct because you can update them once and the update appears on every page where that link exists.

Breakfast at 2007-6-29 2:15:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I think it also can search for htmlif all the hyperlink all link to HTML files.
zoepeng at 2007-6-29 2:15:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
BUT how can u explain it how in html
jprizm at 2007-6-29 2:15:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
can u explain by giving an example how one can do this
jprizm at 2007-6-29 2:15:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...