Melissa Matthews wrote:

> 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://.....
>

Sounds like a bug in 3.2.1.

>
> Any suggestions?
>

Could you please report this to the bug tracking system at:

    http://nagoya.apache.org/bugzilla/

under product "Tomcat 3"?  We are working on a 3.2.2 update, and it would be
useful to get this bug fixed in time to make that release.

Craig McClanahan




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

Reply via email to