This may be an Apache rather than Tomcat issue. But I see it was discussed here
about 10 months ago without resolution.

I can successfully redirect an attempted servlet access on my ISP's Apache
server to my own PC with the following command in .htaccess:

Redirect permanent /IxrPubSubService http://62.6.133.202/IxrPubSubService

However, as a minor problem, easily worked around, the http POST I sent to the
original server gets converted to a GET.

More important, my servlet can't access the data sent with the POST - the data
stream on:

BufferedReader in = new BufferedReader(httpRequest.getReader());

is set to null.

It looks as if the redirect capability is designed purely for GETs, and doesn't
support POST's with their subsequent data.

I'd be grateful for any ideas on how to deal with this.

Tony


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

Reply via email to