I am using Apache/Tomcat 3.2.1.  When I use request.getServerName to build
the page for the redirect, the http:// is included in the server name.
Why is this?

This is the code I'm using:

StringBuffer loginpoint = new StringBuffer();

loginpoint.append(request.getScheme())
              .append("://")
              .append(request.getServerName())
               .append(request.getRequestURI());


The problem is I end up with http://http://.....

Any suggestions?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to