I have a doubt:
   Suppose you have configured Tomcat server in host "a.b.c" in port "8081".
   Suppose you have set an application with a context named "/" in this server.
   Suppose you have developed a servlet acting as a http proxy, and you have set

a request mapping as "/" for it (you can map "*.jsp" for this servlet too).
   Then, suppose you have configured your web browser using a http proxy at
server "a.b.c" and port "8081".
   When you access any site with this browser, you are using this servlet.
   Here is my doubt. I'm not getting "my" expected reply with getRequestURI().
If I access http://java.sun.com/, the first line in HTTP request generete by the

browser, looks as: GET http://java.sun.com/ HTTP/1.1
   According with Servelet 2.2 API description, this method have to return
information taken for the request first line, buy I'm getting:
http:/java.sun.com/ instead of http://java.sun.com/
   What could be wrong ? I'm using Tomcat 3.2.3, JDK 1.3.1, Win NT 4.0 SP 6a.
   Thanks.

Hector Adolfo Alonso
Consist Teleinformatica


Reply via email to