A demonstration of how a localhost web-server can be accessed through Java using a locally configured proxy server.
(Tested with Firefox 2.0.0.9, Sun JRE 1.6 U3 and locally configured webserver and proxy.)