Top "Redirect" questions

A response by a webserver, that asks the user agent to not show the response body, but instead request a different resource.

Getting "java.net.ProtocolException: Server redirected too many times" Error

I'm making a simple URL request with code like this: URL url = new URL(webpage); URLConnection urlConnection = url.openConnection(); InputStream …

java url servlets redirect urlconnection
Difference between JSP forward and redirect

Please explain the difference between jsp:forward and redirect. What is happening in each case?

jsp redirect servlets forward
How do I redirect to root - public/index.html?

I wish to do a redirection to index.html in my application/public folder. def get_current_user @current_user = …

ruby-on-rails path redirect root
How to do dynamic URL redirects in Struts 2?

I'm trying to have my Struts2 app redirect to a generated URL. In this case, I want the URL to …

java url redirect struts2
Chrome cancels CORS XHR upon HTTP 302 redirect

It looks like according to the CORS Spec, GET and POST requests should transparently follow 302 redirects. But Chrome is canceling …

google-chrome redirect xmlhttprequest cors .net-internals
How to go back to referer after login failure?

For login success there is a parameter use_referer: true. For login failure there is only failure_path, which isn't …

redirect symfony login referer
Is there an easy way to request a URL in python and NOT follow redirects?

Looking at the source of urllib2 it looks like the easiest way to do it would be to subclass HTTPRedirectHandler …

python http redirect
Will a 302 redirect maintain the referer string?

I need to redirect the user from one page to another, but I need to maintain the original referer string. …

jsp redirect referrer http-status-code-302 http-referer
Bash script - store stderr in a variable

I'm writing a script to backup a database. I have the following line: mysqldump --user=$dbuser --password=$dbpswd \ --host=$host $…

bash scripting redirect stdout stderr
How to load program reading stdin and taking parameters in gdb?

I have a program that takes input from stdin and also takes some parameters from command line. It looks like …

emacs gdb redirect command-line-arguments