Automatically redirect from the Java-based URL to the non-Java-based URL