How do i redirect the request from my
servlet to a program running in another server ?
I am trying to help out my friend who faces this issue in his college project. He is trying to develop a context based search engine. The servlet in his application is fetching the query the user types and does some manipulations + some business logic, forms a optimized query and is trying to send it to google. We tried using the RequestDispatcher to forward/redirect the request and we failed in succeding.
Is it really possible to forward a request to another server ? Am i making sense here?
Thanks in advance !
Regards,
Arvind