tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: redirect to website not working
Date Wed, 17 Jun 2015 10:55:37 GMT
Hi.

Ankur Gupta wrote:
> Log says this:
> 
> xx.xxx.xx.81 - - [17/Jun/2015:12:51:47 -0400] "GET
> /examples/smstrial.jsp?mobileNumber=0123456789 HTTP/1.1" 302 -
> 
> xx.xxx.xx.81 - - [17/Jun/2015:12:52:16 -0400] "GET
> /examples/smstrial.jsp?mobileNumber=0123456789 HTTP/1.1" 302 -
> 
> xx.xxx.xx.81 - - [17/Jun/2015:12:53:05 -0400] "GET /examples/smstrial.jsp
> HTTP/1.1" 302 -
> 
> xx.xxx.xx.81 - - [17/Jun/2015:12:53:17 -0400] "GET /examples/smstrial.jsp
> HTTP/1.1" 302 -
> 
> xx.xxx.xx.81 - - [17/Jun/2015:12:53:32 -0400] "GET /examples/smstrial.jsp
> HTTP/1.1" 302 -
> 
> xx.xxx.xx.81 - - [17/Jun/2015:12:54:39 -0400] "GET /examples/smstrial.jsp
> HTTP/1.1" 302 139
> 
> xx.xxx.xx.81 - - [17/Jun/2015:12:55:16 -0400] "GET /examples/smstrial.jsp
> HTTP/1.1" 302 139
> 
>

That log seems fine to me. It shows that your application is indeed returning the 302 
responses to the browser.
Unfortunately, this does not really show us *to what* the re-direction is, from the point

of view of the browser.

> 
> Browser is Internet Explorer and it gives error
> 
>  [image: Inline image 1]
> 

Unfortunately, the list software strips embedded images, and most attachments.
Do you have any way to post that image somewhere (or describe it), so that we know what 
error this is exactly ?

Note : if you are using IE, you may need to change a setting, in order to see the real 
error page sent by the server, rather than the "friendly" page that IE itself is showing.
Go to preferences, in "advanced", and disable the "send friendly error messages" box, then

try again.

I also suggest that you add a plugin to the browser, such as Fiddler2 for IE.
This will allow you to see "exactly" what the server sends as a response, including the 
"Location:" header, which is essential here to determine what the problem is.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message