You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/07/20 14:30:44 UTC
DO NOT REPLY [Bug 30206] New: -
Unexpected bug when use phone browser request redirect page
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30206>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30206
Unexpected bug when use phone browser request redirect page
Summary: Unexpected bug when use phone browser request redirect
page
Product: Tomcat 5
Version: 5.0.25
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Servlet & JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: kumphol@s-onetelecom.com
Dear all,
I'm not sure is this bug? but If we use phone browser browse redirect page by
some mobile browser it isn't work:
========================
File: index.jsp
========================
<%
response.sendRedirect("../login.jsp");
%>
========================
I check by use telnet to my server and write HTTP request to see the response
below:
GET /wap/index.jsp HTTP/1.0
HOST: myserver:8080
HTTP/1.1 302 Moved Temporarily
Set-Cookie: JSESSIONID=F2CCA24F97C6990CB96354EE4DC398BD; Path=/wap
Location: http://myserver:8080/wap/../login.jsp
Content-Type: text/html
Content-Length: 0
Date: Tue, 20 Jul 2004 11:48:20 GMT
Server: Apache-Coyote/1.1
Connection: close
I think that phone browser doesn't support this Location url :
http://myserver:8080/wap/../login.jsp, but on Tomcat 4.x this file will generate
header in absolute url like this below and it work:
HTTP/1.1 302 Moved Temporarily
Location: http://myserver:8080/wap/login.jsp
Content-Length: 0
Date: Tue, 20 Jul 2004 12:08:37 GMT
Server: Apache-Coyote/1.1
Connection: close
Could you advise which Tomcat 5.x can resolve this unexpected problem. I know
that Tomcat 5.x have performance optimization and more efficiently features.
Thank you.
Kumphol Rattanachanchai
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org