Hi Krishnan,
You can make use of ajax and
servlets in this context. You can create a servlet which responds to the ajax request and returns the htmlcontent of the related keyword. At browser side, when the search button is clicked then in the background , send a request to the servlet using ajax with keyword as input parameter.
After you receieve the response you can
1. open an new window with responseText.
2. include the responseText as div innerHTML.
Hope it solves your problem.