Hi all,

I want to create a servlet that can access all the http requests and
responses passing through a web browser.

For this, I configured apache as forward proxy server and put 'localhost'
in browser's proxy settings. It works. But any idea how do i add my servlet
in the middle so that the servlet can log the requests and manipulate the
responses according to my need ?

Another method is to configure apache as reverse proxy server and pass all
the incoming http requests to my servlet running on tomcat. Then using
httpclient library, i'l forward the request to the required server and get
the response and display it accordingly.But i'm not able to get apache to
forward full requests to my servlet.

Any suggestions?

Thanks,
Paras Narang

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to