my dog learned polymorphism
The moose likes Servlets and the fly likes sendRedirect of HttpServletResponse ..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "sendRedirect of HttpServletResponse ....." Watch "sendRedirect of HttpServletResponse ....." New topic

sendRedirect of HttpServletResponse .....

Jack Daniel
Ranch Hand

Joined: Jun 15, 2002
Posts: 163
Hi all,...

just curious to know which setting(s) on MSIE, will prevent
response.sendRedirect to work

Just came across this problem, though solved it by using
getServletContext().getRequestDispatcher... later..

I know somebody here, definitely has a clue.. about that..

PS: The application was working perfect on mostIE browsers but not on some.. figured out this to be the reason.No reDirecting is happening on some browsers...
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

I've run into firewalls that don't allow re-directs but not lately.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jack Daniel
Ranch Hand

Joined: Jun 15, 2002
Posts: 163
Hi Ben,..


So, it might not be because of some IE setting(s)??
Also I have noticed that it happened only on XP-Professional with SP2..
damn!!! that must be the reason - SP2

I agree. Here's the link:
subject: sendRedirect of HttpServletResponse .....
It's not a secret anymore!