File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "sendRedirect of HttpServletResponse ....." Watch "sendRedirect of HttpServletResponse ....." New topic
Author

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..
Thanks

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
Sheriff

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,..

Thanks..

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: http://aspose.com/file-tools
 
subject: sendRedirect of HttpServletResponse .....
 
Similar Threads
any updates on ken's notes?
browser to java application communication
get disabled values from HttpServletRequest parameter
Does the browser have to be AJAX aware?
submit thru javascript