Apparently no redirect is allows in the index.jsp.