Hi all, I deployed a web application "foo.war" into tomcat 5.x . When I used httpclient to send post request to "http://localhost:8080/foo", I always get the http 302 redirect response . How can I prevent Tomcat to reply redirect response and directly adding the slash to my request url "http://localhost:8080/foo/" to get what I want . I see web browser can automcatically resend the request to redirected location but httpclient can not. Is there configurations for that ? Could anyone shed some lights ?
Thanks Jim