Hi everybody,
I am looking for a solution based on Tomcat, but I am not sure how much efforts are needed. Can you give me some suggestions? Thanks. What I need to do: (1) Get a HTTPRequest, then based on the URI and content to determine the destination. It will be forwarded through a secured tunnel; (2) For a HTTPS request. It will establish SSL over the tunnel, forward it to the other end of the tunnel. If this function is developed using Servlet, it is just too late, and it seems have little control over the underlying connections. Therefore, I want to have the requests forwarded before reaching 'servlet'. Is that possible? Which module should I customize? Thank you. Guo