Fixed handling URL at index.jsp