You are right. the 302 does happen without the leading slash

Here is the header info


  | http://localhost:8080/tomcat-issue
  | 
  | POST /tomcat-issue HTTP/1.1
  | Host: localhost:8080
  | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) 
Gecko/20050915 Firefox/1.0.7
  | Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  | Accept-Language: en,fr;q=0.8,de;q=0.5,ar;q=0.3
  | Accept-Encoding: gzip,deflate
  | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  | Keep-Alive: 300
  | Connection: keep-alive
  | Referer: http://localhost:8080/tomcat-issue/
  | Cookie: JSESSIONID=C56C8A2078EE2AAE8C6DEB94A3F5113D
  | Content-Type: application/x-www-form-urlencoded
  | Content-Length: 27
  | username=test&password=test
  | HTTP/1.x 302 Moved Temporarily
  | Server: Apache-Coyote/1.1
  | Location: http://localhost:8080/tomcat-issue/
  | Transfer-Encoding: chunked
  | Date: Wed, 23 Nov 2005 20:48:02 GMT
  | ----------------------------------------------------------
  | http://localhost:8080/tomcat-issue/
  | 
  | GET /tomcat-issue/ HTTP/1.1
  | Host: localhost:8080
  | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) 
Gecko/20050915 Firefox/1.0.7
  | Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  | Accept-Language: en,fr;q=0.8,de;q=0.5,ar;q=0.3
  | Accept-Encoding: gzip,deflate
  | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  | Keep-Alive: 300
  | Connection: keep-alive
  | Referer: http://localhost:8080/tomcat-issue/
  | Cookie: JSESSIONID=C56C8A2078EE2AAE8C6DEB94A3F5113D
  | 
  | HTTP/1.x 200 OK
  | Server: Apache-Coyote/1.1
  | X-Powered-By: Servlet 2.4; JBoss-4.0.3RC1 (build: CVSTag=JBoss_4_0_3_RC1 
date=200506260723)/Tomcat-5.5
  | Content-Type: text/html;charset=ISO-8859-1
  | Content-Length: 268
  | Date: Wed, 23 Nov 2005 20:48:02 GMT
  | ----------------------------------------------------------
  | http://localhost:8080/favicon.ico
  | 
  | GET /favicon.ico HTTP/1.1
  | Host: localhost:8080
  | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) 
Gecko/20050915 Firefox/1.0.7
  | Accept: image/png,*/*;q=0.5
  | Accept-Language: en,fr;q=0.8,de;q=0.5,ar;q=0.3
  | Accept-Encoding: gzip,deflate
  | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  | Keep-Alive: 300
  | Connection: keep-alive
  | Cookie: JSESSIONID=C56C8A2078EE2AAE8C6DEB94A3F5113D
  | 
  | HTTP/1.x 200 OK
  | Server: Apache-Coyote/1.1
  | X-Powered-By: Servlet 2.4; JBoss-4.0.3RC1 (build: CVSTag=JBoss_4_0_3_RC1 
date=200506260723)/Tomcat-5.5
  | Content-Length: 0
  | Date: Wed, 23 Nov 2005 20:48:02 GMT
  | ----------------------------------------------------------
  | 

Here is the header info with the '/'

  | http://localhost:8080/tomcat-issue/
  | 
  | POST /tomcat-issue/ HTTP/1.1
  | Host: localhost:8080
  | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) 
Gecko/20050915 Firefox/1.0.7
  | Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  | Accept-Language: en,fr;q=0.8,de;q=0.5,ar;q=0.3
  | Accept-Encoding: gzip,deflate
  | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  | Keep-Alive: 300
  | Connection: keep-alive
  | Referer: http://localhost:8080/tomcat-issue/fixed
  | Cookie: JSESSIONID=C56C8A2078EE2AAE8C6DEB94A3F5113D
  | Content-Type: application/x-www-form-urlencoded
  | Content-Length: 27
  | username=test&password=test
  | HTTP/1.x 200 OK
  | Server: Apache-Coyote/1.1
  | X-Powered-By: Servlet 2.4; JBoss-4.0.3RC1 (build: CVSTag=JBoss_4_0_3_RC1 
date=200506260723)/Tomcat-5.5
  | Content-Type: text/html;charset=ISO-8859-1
  | Content-Length: 268
  | Date: Wed, 23 Nov 2005 20:49:55 GMT
  | ----------------------------------------------------------
  | http://localhost:8080/favicon.ico
  | 
  | GET /favicon.ico HTTP/1.1
  | Host: localhost:8080
  | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) 
Gecko/20050915 Firefox/1.0.7
  | Accept: image/png,*/*;q=0.5
  | Accept-Language: en,fr;q=0.8,de;q=0.5,ar;q=0.3
  | Accept-Encoding: gzip,deflate
  | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  | Keep-Alive: 300
  | Connection: keep-alive
  | Cookie: JSESSIONID=C56C8A2078EE2AAE8C6DEB94A3F5113D
  | 
  | HTTP/1.x 200 OK
  | Server: Apache-Coyote/1.1
  | X-Powered-By: Servlet 2.4; JBoss-4.0.3RC1 (build: CVSTag=JBoss_4_0_3_RC1 
date=200506260723)/Tomcat-5.5
  | Content-Length: 0
  | Date: Wed, 23 Nov 2005 20:49:55 GMT
  | ----------------------------------------------------------
  | 

Do you know what is causing this? Or more importantly how can I fix this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908785#3908785

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908785


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to