How to set the tomcat to act as a proxy server?
Solution 1
No, as far as I know tomcat cannot be configured to act as a proxy server. With programming of course everything is possible.
On the other hand nothing prevents you from deploying on it e.g. Apache MINA library and a couple of classes to configure it as a proxy server. Then you have a proxy server which can be deployed as part of your tomcat solution. But this has nothing to do with tomcat, other than that it happens to start the thing.
Solution 2
You can do this by using a web app to do the http proxy. There are several ready-to-go web apps that you can use. J2EP seems to work fine, and there are others
Comments
-
Rakesh Juyal about 2 years
Can i use Apache Tomcat to behave like a proxy server? I know there are other methods also, to create a proxy server [ using HTTP/Socks-5 , using google app engine, blah blah ]
The answer can be simply, No . or if it is possible to create a proxy server using Tomcat then please let us know.