Tomcat 5 redirect issue
All,
I installed jakarta-tomcat-5.0.28 on my PC and changed port to 8283 and added a simple servlet which has doGet and doPost.
When I used a java program which uses httpclient to send doGet and doPost requests to that servlet. doGet worked weel. However, I got following error msg for doPost request:
Oct 7, 2005 3:56:52 PM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
The Status code = 302
Same program worked file for tomcat 4. Any ideas?
Thanks in advance.
Tony
|