Redirection to java/index.php