1

I need a reverse proxy, which I will be able to configure the url mapping in runtime (in code) inside of my application that will be running in Tomcat 8.

Ido
  • 951
  • 1
  • 13
  • 27

1 Answers1

0

You might find this project useful - https://github.com/mitre/HTTP-Proxy-Servlet - it worked very well for me.

ab2000
  • 364
  • 2
  • 8
  • Tried it. How do I configure a dynamic URL mapping in runtime? – Ido Sep 12 '16 at 19:15
  • Since Tomcat 8 supports Servlet Spec 3.1 you should be able to use the method described here - http://stackoverflow.com/questions/7540792/map-a-servlet-in-runtime – ab2000 Sep 16 '16 at 17:32